summaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-04-07 04:34:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-04-07 04:34:50 +0000
commit98976a6a819e5b88f5e7a357ce5288bf14c043ba (patch)
tree79a0350ab1cc5f9bc2648a1a0da2179ed03c8748 /binutils/bucomm.h
parent6a801f0da7d7fdd52289bd123f91aa2f2500c065 (diff)
downloadbinutils-redhat-98976a6a819e5b88f5e7a357ce5288bf14c043ba.tar.gz
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 f211473980..c6dc26a1f0 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));