aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-12-20 19:44:16 +0000
committerFred Fish <fnf@specifix.com>1991-12-20 19:44:16 +0000
commitee1ad69ccdd586171462c68235793bdf71f0b33d (patch)
treee898b64cba56a2475c9baaba4b8ac23d0903f669 /gdb/utils.c
parent5f32984ea685edfc20fb8ab27bc780086d8bb07e (diff)
downloadgdb-ee1ad69ccdd586171462c68235793bdf71f0b33d.zip
gdb-ee1ad69ccdd586171462c68235793bdf71f0b33d.tar.gz
gdb-ee1ad69ccdd586171462c68235793bdf71f0b33d.tar.bz2
* configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
Change svr4 references to sysv4. * source.c: Move declaration of external function index to front of file so it is in scope for all references. * utils.c (error, fatal): Make definitions consistent with defs.h declarations (declared as "volatile void").
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index bffa2ee..ab48cec 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -45,9 +45,6 @@ extern char *realloc();
#define ISATTY(FP) (isatty (fileno (FP)))
#endif
-void error ();
-void fatal ();
-
/* Chain of cleanup actions established with make_cleanup,
to be executed if an error happens. */
@@ -213,7 +210,7 @@ warning (va_alist)
and the remaining args are passed as arguments to it. */
/* VARARGS */
-void
+volatile void
error (va_alist)
va_dcl
{
@@ -238,7 +235,7 @@ error (va_alist)
The arguments are printed a la printf. */
/* VARARGS */
-void
+volatile void
fatal (va_alist)
va_dcl
{