sim: constify sim_fpu_print_status
authorMike Frysinger <vapier@gentoo.org>
Sat, 10 Apr 2010 20:29:54 +0000 (20:29 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 10 Apr 2010 20:29:54 +0000 (20:29 +0000)
commitadaaf009b5bcef977ac8b3ca025b5357ee93aad6
treee95fb7d1efa0e8a6ac40665459bcececd7844928
parentaa0c8c1ae13d79f06b4539aa377561bc4f8cc202
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>
sim/common/ChangeLog
sim/common/sim-fpu.c