diff options
author | Nick Clifton <nickc@redhat.com> | 2000-02-08 20:54:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-02-08 20:54:27 +0000 |
commit | 6d358e869b1efe22fa6697a8aa4191ddacbacef0 (patch) | |
tree | 8e46af77cc6bd1e1f07b560c31b7cdf0fbbffab9 /sim/common/callback.c | |
parent | ab266a97fb888efa38e7cdc1d53b6c97337b589f (diff) | |
download | gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.zip gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.gz gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.bz2 |
Fix compile time warning messages.
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r-- | sim/common/callback.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c index e8a28c4..19acca0 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -306,7 +306,7 @@ os_write (p, fd, buf, len) static int os_write_stdout (p, buf, len) - host_callback *p; + host_callback *p ATTRIBUTE_UNUSED; const char *buf; int len; { @@ -315,14 +315,14 @@ os_write_stdout (p, buf, len) static void os_flush_stdout (p) - host_callback *p; + host_callback *p ATTRIBUTE_UNUSED; { fflush (stdout); } static int os_write_stderr (p, buf, len) - host_callback *p; + host_callback *p ATTRIBUTE_UNUSED; const char *buf; int len; { @@ -331,7 +331,7 @@ os_write_stderr (p, buf, len) static void os_flush_stderr (p) - host_callback *p; + host_callback *p ATTRIBUTE_UNUSED; { fflush (stderr); } @@ -440,7 +440,7 @@ os_init (p) /* VARARGS */ static void #ifdef ANSI_PROTOTYPES -os_printf_filtered (host_callback *p, const char *format, ...) +os_printf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, ...) #else os_printf_filtered (p, va_alist) host_callback *p; @@ -464,7 +464,7 @@ os_printf_filtered (p, va_alist) /* VARARGS */ static void #ifdef ANSI_PROTOTYPES -os_vprintf_filtered (host_callback *p, const char *format, va_list args) +os_vprintf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, va_list args) #else os_vprintf_filtered (p, format, args) host_callback *p; @@ -478,7 +478,7 @@ os_vprintf_filtered (p, format, args) /* VARARGS */ static void #ifdef ANSI_PROTOTYPES -os_evprintf_filtered (host_callback *p, const char *format, va_list args) +os_evprintf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, va_list args) #else os_evprintf_filtered (p, format, args) host_callback *p; @@ -492,7 +492,7 @@ os_evprintf_filtered (p, format, args) /* VARARGS */ static void #ifdef ANSI_PROTOTYPES -os_error (host_callback *p, const char *format, ...) +os_error (host_callback *p ATTRIBUTE_UNUSED, const char *format, ...) #else os_error (p, va_alist) host_callback *p; |