From: Joel Sherrill Date: Thu, 14 Aug 2014 22:18:53 +0000 (-0500) Subject: psim: Correct spelling in comments. X-Git-Tag: binutils-2_25~467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceac4ecf4c7ed63b14456101c152180ae56d40e7;p=platform%2Fupstream%2Fbinutils.git psim: Correct spelling in comments. 2014-08-27 Joel Sherrill * basics.h, device.c, device.h, hw_htab.c, hw_memory.c: Correct spelling in comments. --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 0ee34ef..4a48a81 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-27 Joel Sherrill + + * basics.h, device.c, device.h, hw_htab.c, hw_memory.c: + Correct spelling in comments. + 2014-08-19 Alan Modra * configure.ac: Invoke AC_PLUGINS. diff --git a/sim/ppc/basics.h b/sim/ppc/basics.h index c26627e..2b923ea 100644 --- a/sim/ppc/basics.h +++ b/sim/ppc/basics.h @@ -95,6 +95,7 @@ typedef enum { #include #include +#include #ifndef NORETURN diff --git a/sim/ppc/device.c b/sim/ppc/device.c index 988baea..d5093bb 100644 --- a/sim/ppc/device.c +++ b/sim/ppc/device.c @@ -1815,7 +1815,7 @@ device_ioctl(device *me, /* I/O */ EXTERN_DEVICE\ -(void volatile) +(void) device_error(device *me, const char *fmt, ...) diff --git a/sim/ppc/device.h b/sim/ppc/device.h index ef52e5e..6fd198d 100644 --- a/sim/ppc/device.h +++ b/sim/ppc/device.h @@ -726,7 +726,7 @@ EXTERN_DEVICE\ */ EXTERN_DEVICE\ -(void volatile) device_error +(void) device_error (device *me, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); diff --git a/sim/ppc/hw_htab.c b/sim/ppc/hw_htab.c index 15ddb71..c49b323 100644 --- a/sim/ppc/hw_htab.c +++ b/sim/ppc/hw_htab.c @@ -22,6 +22,7 @@ #define _HW_HTAB_C_ #include "device_table.h" +#include "device.h" #include "bfd.h" diff --git a/sim/ppc/hw_memory.c b/sim/ppc/hw_memory.c index 5292d10..09c331c 100644 --- a/sim/ppc/hw_memory.c +++ b/sim/ppc/hw_memory.c @@ -25,6 +25,8 @@ #define STATIC_INLINE_HW_MEMORY STATIC_INLINE #endif +#include + #include "device_table.h" /* DEVICE