This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/sim/common ChangeLog sim-fpu.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2010-04-10 20:29:55

Modified files:
	sim/common     : ChangeLog sim-fpu.c 

Log message:
	sim: constify sim_fpu_print_status
	
	I've committed the following patch as obvious.  The local "prefix"
	variable is only assigned const strings, and only passed to printf()
	functions, so add "const" to avoid gcc warnings:
	common/sim-fpu.c: In function 'sim_fpu_print_status':
	common/sim-fpu.c:2508: warning: initialization discards qualifiers
	from pointer target type
	common/sim-fpu.c:2566: warning: assignment discards qualifiers
	from pointer target type
	
	Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.208&r2=1.209
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-fpu.c.diff?cvsroot=src&r1=1.17&r2=1.18


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]