aboutsummaryrefslogtreecommitdiff
path: root/qemu-queue.h
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2010-04-27 15:27:09 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-04-27 18:56:11 +0000
commitaacf4563878cac2afbbdc9818d810d2a3b075c6a (patch)
treebd2d07ed6a59fc9c84d99ad479180b489aa56fe6 /qemu-queue.h
parent14a6063a91083c9cbe1bc502ee58fc7ca146bc1a (diff)
microblaze: fix custom fprintf
Using GCC-4.2.4-1ubuntu4, there is a warning: microblaze-dis.c:792: warning: unused variable 'fprintf' Indeed, fprintf() is shadowed by a custom redefinition but is not used because of FORTIFY_SOURCE option which replace calls to fprintf() by fprintf_chk(). So, fprintf refers to the libc implementation instead of the qemu one. It's a bug. It is fixed by renaming the variable to something different of "fprintf". It prevents from hazardous shadowing. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-queue.h')
0 files changed, 0 insertions, 0 deletions