Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/sim/ppc There is no such thing as voi...



details:   https://anonhg.NetBSD.org/src/rev/cbf0fa2f7509
branches:  trunk
changeset: 335584:cbf0fa2f7509
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jan 16 10:08:52 2015 +0000

description:
There is no such thing as void volatile.

diffstat:

 external/gpl3/gdb/dist/sim/ppc/device.c |  2 +-
 external/gpl3/gdb/dist/sim/ppc/device.h |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r c9ff71a3d031 -r cbf0fa2f7509 external/gpl3/gdb/dist/sim/ppc/device.c
--- a/external/gpl3/gdb/dist/sim/ppc/device.c   Fri Jan 16 10:08:37 2015 +0000
+++ b/external/gpl3/gdb/dist/sim/ppc/device.c   Fri Jan 16 10:08:52 2015 +0000
@@ -1815,7 +1815,7 @@
 /* I/O */
 
 EXTERN_DEVICE\
-(void volatile)
+(void)
 device_error(device *me,
             const char *fmt,
             ...)
diff -r c9ff71a3d031 -r cbf0fa2f7509 external/gpl3/gdb/dist/sim/ppc/device.h
--- a/external/gpl3/gdb/dist/sim/ppc/device.h   Fri Jan 16 10:08:37 2015 +0000
+++ b/external/gpl3/gdb/dist/sim/ppc/device.h   Fri Jan 16 10:08:52 2015 +0000
@@ -726,7 +726,7 @@
    */
 
 EXTERN_DEVICE\
-(void volatile) device_error
+(void) device_error
 (device *me,
  const char *fmt,
  ...) __attribute__ ((format (printf, 2, 3)));



Home | Main Index | Thread Index | Old Index