aboutsummaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-07 04:34:50 +0000
committerAlan Modra <amodra@gmail.com>2000-04-07 04:34:50 +0000
commit37cc8ec1be0959c1878e79fd2baed888da4a2775 (patch)
tree3f0c84ec0246e8da024b05540c58b082c583dd31 /binutils/bucomm.h
parentd311cd50fc8c3fc9b344cc2a893572d6c0ae44d7 (diff)
downloadgdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.zip
gdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.tar.gz
gdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.tar.bz2
A mostly cosmetic tidy up of warnings and error message reporting.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r--binutils/bucomm.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/binutils/bucomm.h b/binutils/bucomm.h
index f211473..c6dc26a 100644
--- a/binutils/bucomm.h
+++ b/binutils/bucomm.h
@@ -1,5 +1,5 @@
/* bucomm.h -- binutils common include file.
- Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999
+ Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -28,6 +28,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
#include "bin-bugs.h"
+#ifdef ANSI_PROTOTYPES
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#ifdef USE_BINARY_FOPEN
#include "fopen-bin.h"
#else
@@ -143,13 +149,15 @@ void *alloca ();
#endif
/* bucomm.c */
-void bfd_nonfatal PARAMS ((CONST char *));
+void bfd_nonfatal PARAMS ((const char *));
+
+void bfd_fatal PARAMS ((const char *)) ATTRIBUTE_NORETURN;
-void bfd_fatal PARAMS ((CONST char *));
+void report PARAMS ((const char *, va_list));
-void fatal PARAMS ((CONST char *, ...));
+void fatal PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
-void non_fatal PARAMS ((CONST char *, ...));
+void non_fatal PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
void set_default_bfd_target PARAMS ((void));