aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-08-09 21:36:23 +0000
committerJason Molenda <jmolenda@apple.com>1999-08-09 21:36:23 +0000
commit96baa820df8126165bd3c4a33c561556b21203af (patch)
tree60cf1938a2c0aaae5d3aab73b553f031138ec99c /gdb/language.c
parent10e80b41455f1a386485631b7c170cafe341dcd6 (diff)
downloadgdb-96baa820df8126165bd3c4a33c561556b21203af.zip
gdb-96baa820df8126165bd3c4a33c561556b21203af.tar.gz
gdb-96baa820df8126165bd3c4a33c561556b21203af.tar.bz2
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/language.c b/gdb/language.c
index d177918..1aeb237 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1076,21 +1076,10 @@ op_error (fmt, op, fatal)
by the value of warning_pre_print and we do not return to the top level. */
void
-#ifdef ANSI_PROTOTYPES
type_error (char *string,...)
-#else
-type_error (va_alist)
- va_dcl
-#endif
{
va_list args;
-#ifdef ANSI_PROTOTYPES
va_start (args, string);
-#else
- char *string;
- va_start (args);
- string = va_arg (args, char *);
-#endif
if (type_check == type_check_warn)
fprintf_filtered (gdb_stderr, warning_pre_print);
@@ -1105,21 +1094,10 @@ type_error (va_alist)
}
void
-#ifdef ANSI_PROTOTYPES
range_error (char *string,...)
-#else
-range_error (va_alist)
- va_dcl
-#endif
{
va_list args;
-#ifdef ANSI_PROTOTYPES
va_start (args, string);
-#else
- char *string;
- va_start (args);
- string = va_arg (args, char *);
-#endif
if (range_check == range_check_warn)
fprintf_filtered (gdb_stderr, warning_pre_print);