summaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:36:23 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:36:23 +0000
commita27fefe150437b815e05a7b2f665ecd7beadee1c (patch)
tree03125a5903321c99f52957dda62b7c184e97391d /gdb/language.c
parent30596ccddf8f2c54b474c35d984cc95e6c8af805 (diff)
downloadgdb-a27fefe150437b815e05a7b2f665ecd7beadee1c.tar.gz
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 d177918a0ac..1aeb2372fcd 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);