From ceac4ecf4c7ed63b14456101c152180ae56d40e7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 14 Aug 2014 17:18:53 -0500 Subject: [PATCH] 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. --- sim/ppc/ChangeLog | 5 +++++ sim/ppc/basics.h | 1 + sim/ppc/device.c | 2 +- sim/ppc/device.h | 2 +- sim/ppc/hw_htab.c | 1 + sim/ppc/hw_memory.c | 2 ++ 6 files changed, 11 insertions(+), 2 deletions(-) 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 -- 2.7.4