• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂ceac4ecf4c7ed63b14456101c152180ae56d40e7 (tree)
時間2014-08-28 04:04:41
作者Joel Sherrill <joel.sherrill@oarc...>
CommiterJoel Sherrill

Log Message

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.

Change Summary

差異

--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
1+2014-08-27 Joel Sherrill <joel.sherrill@oarcorp.com>
2+
3+ * basics.h, device.c, device.h, hw_htab.c, hw_memory.c:
4+ Correct spelling in comments.
5+
16 2014-08-19 Alan Modra <amodra@gmail.com>
27
38 * configure.ac: Invoke AC_PLUGINS.
--- a/sim/ppc/basics.h
+++ b/sim/ppc/basics.h
@@ -95,6 +95,7 @@ typedef enum {
9595
9696 #include <stdarg.h>
9797 #include <stdio.h>
98+#include <stdlib.h>
9899
99100
100101 #ifndef NORETURN
--- a/sim/ppc/device.c
+++ b/sim/ppc/device.c
@@ -1815,7 +1815,7 @@ device_ioctl(device *me,
18151815 /* I/O */
18161816
18171817 EXTERN_DEVICE\
1818-(void volatile)
1818+(void)
18191819 device_error(device *me,
18201820 const char *fmt,
18211821 ...)
--- a/sim/ppc/device.h
+++ b/sim/ppc/device.h
@@ -726,7 +726,7 @@ EXTERN_DEVICE\
726726 */
727727
728728 EXTERN_DEVICE\
729-(void volatile) device_error
729+(void) device_error
730730 (device *me,
731731 const char *fmt,
732732 ...) __attribute__ ((format (printf, 2, 3)));
--- a/sim/ppc/hw_htab.c
+++ b/sim/ppc/hw_htab.c
@@ -22,6 +22,7 @@
2222 #define _HW_HTAB_C_
2323
2424 #include "device_table.h"
25+#include "device.h"
2526
2627 #include "bfd.h"
2728
--- a/sim/ppc/hw_memory.c
+++ b/sim/ppc/hw_memory.c
@@ -25,6 +25,8 @@
2525 #define STATIC_INLINE_HW_MEMORY STATIC_INLINE
2626 #endif
2727
28+#include <stdlib.h>
29+
2830 #include "device_table.h"
2931
3032 /* DEVICE