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 0ee34ef..4a48a81 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 c26627e..2b923ea 100644 (file)
@@ -95,6 +95,7 @@ typedef enum {
 
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 
 #ifndef NORETURN
index 988baea..d5093bb 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 ef52e5e..6fd198d 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 15ddb71..c49b323 100644 (file)
@@ -22,6 +22,7 @@
 #define _HW_HTAB_C_
 
 #include "device_table.h"
+#include "device.h"
 
 #include "bfd.h"
 
index 5292d10..09c331c 100644 (file)
@@ -25,6 +25,8 @@
 #define STATIC_INLINE_HW_MEMORY STATIC_INLINE
 #endif
 
+#include <stdlib.h>
+
 #include "device_table.h"
 
 /* DEVICE