psim: Correct spelling in comments.
authorJoel Sherrill <joel.sherrill@oarcorp.com>
Thu, 14 Aug 2014 22:18:53 +0000 (17:18 -0500)
committerJoel Sherrill <joel.sherrill@oarcorp.com>
Wed, 27 Aug 2014 19:04:41 +0000 (14:04 -0500)
2014-08-27  Joel Sherrill <joel.sherrill@oarcorp.com>

* basics.h, device.c, device.h, hw_htab.c, hw_memory.c:
Correct spelling in comments.

sim/ppc/ChangeLog
sim/ppc/basics.h
sim/ppc/device.c
sim/ppc/device.h
sim/ppc/hw_htab.c
sim/ppc/hw_memory.c

index 0ee34efaa68b55b5c3a258c8927060791fd8f22a..4a48a81292c6579c71e8d0bff06ee71383ff0267 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-27  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * basics.h, device.c, device.h, hw_htab.c, hw_memory.c:
+       Correct spelling in comments.
+
 2014-08-19  Alan Modra  <amodra@gmail.com>
 
        * configure.ac: Invoke AC_PLUGINS.
index c26627e870e899ac3a23f37e3ab6560d12a467be..2b923ea3cc3eb71f4e08d9ee93e4fbd18f2952f1 100644 (file)
@@ -95,6 +95,7 @@ typedef enum {
 
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 
 #ifndef NORETURN
index 988baea8b558685ad9fb9944bfefc2c88f4dd9eb..d5093bbdadb192c0c8b83871d4e95d530fb646ac 100644 (file)
@@ -1815,7 +1815,7 @@ device_ioctl(device *me,
 /* I/O */
 
 EXTERN_DEVICE\
-(void volatile)
+(void)
 device_error(device *me,
             const char *fmt,
             ...)
index ef52e5e9864f96c4e25437fadfd858232d81d487..6fd198de70dd52a36e2df9a07495fe3665d9a19c 100644 (file)
@@ -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)));
index 15ddb71eef9ee7afc5fcf40a96b5272c62eeb908..c49b3231ffeaf7ba232578422ddf782f5944b44d 100644 (file)
@@ -22,6 +22,7 @@
 #define _HW_HTAB_C_
 
 #include "device_table.h"
+#include "device.h"
 
 #include "bfd.h"
 
index 5292d10fa236efe5b914949867122b08ed77f7b3..09c331c3295b482dd942350c338bfc26cf5343da 100644 (file)
@@ -25,6 +25,8 @@
 #define STATIC_INLINE_HW_MEMORY STATIC_INLINE
 #endif
 
+#include <stdlib.h>
+
 #include "device_table.h"
 
 /* DEVICE