From 37cc8ec1be0959c1878e79fd2baed888da4a2775 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 7 Apr 2000 04:34:50 +0000 Subject: A mostly cosmetic tidy up of warnings and error message reporting. --- binutils/bucomm.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'binutils/bucomm.h') 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 +#else +#include +#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)); -- cgit v1.1