aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-08-14 17:18:53 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-08-27 14:04:41 -0500
commitceac4ecf4c7ed63b14456101c152180ae56d40e7 (patch)
treee9dcb0348c9793cdc7e2a3fd447c81fe59e51a89 /sim/ppc
parentd5962de546ad1ceb7ae69539b60d2e48e3942e30 (diff)
downloadgdb-ceac4ecf4c7ed63b14456101c152180ae56d40e7.zip
gdb-ceac4ecf4c7ed63b14456101c152180ae56d40e7.tar.gz
gdb-ceac4ecf4c7ed63b14456101c152180ae56d40e7.tar.bz2
psim: Correct spelling in comments.
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.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/basics.h1
-rw-r--r--sim/ppc/device.c2
-rw-r--r--sim/ppc/device.h2
-rw-r--r--sim/ppc/hw_htab.c1
-rw-r--r--sim/ppc/hw_memory.c2
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 <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.
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 <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#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 <stdlib.h>
+
#include "device_table.h"
/* DEVICE