diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-05-19 14:15:48 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-05-19 14:15:48 +0000 |
commit | 73d3dbd4e6ab70e29986e6d706b548cdc39c3531 (patch) | |
tree | e92f2ef9b4f6876084444922f3c5668832617f09 /gdb/remote-st.c | |
parent | 85c613aaa7092f8dfc8ce0c475e0ef210685bc16 (diff) | |
download | gdb-73d3dbd4e6ab70e29986e6d706b548cdc39c3531.zip gdb-73d3dbd4e6ab70e29986e6d706b548cdc39c3531.tar.gz gdb-73d3dbd4e6ab70e29986e6d706b548cdc39c3531.tar.bz2 |
* utils.c, complaints.c, language.c, monitor.c, remote-array.c,
remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
must match the definition of PARAMS.
start-sanitize-gdbtk
* gdbtk.c: Likewise.
end-sanitize-gdbtk
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r-- | gdb/remote-st.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c index b74ba13..50c5678 100644 --- a/gdb/remote-st.c +++ b/gdb/remote-st.c @@ -38,7 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "gdbcore.h" #include "target.h" #include "wait.h" -#ifdef __STDC__ +#ifdef ANSI_PROTOTYPES #include <stdarg.h> #else #include <varargs.h> @@ -70,7 +70,7 @@ static serial_t st2000_desc; /* Send data to stdebug. Works just like printf. */ static void -#ifdef __STDC__ +#ifdef ANSI_PROTOTYPES printf_stdebug(char *pattern, ...) #else printf_stdebug(va_alist) @@ -80,7 +80,7 @@ printf_stdebug(va_alist) va_list args; char buf[200]; -#ifdef __STDC__ +#ifdef ANSI_PROTOTYPES va_start(args, pattern); #else char *pattern; |