(error): Make it work with non-ANSI compilers.
(warn): Likewise.
(get_ver_flags): Don't use an ANSI prototype in the definition.
+Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com)
+
+ * readelf.c (byte_get): Use PARAMS in prototype.
+ (error): Make it work with non-ANSI compilers.
+ (warn): Likewise.
+ (get_ver_flags): Don't use an ANSI prototype in the definition.
+
Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com>
* objcopy.c (filter_bytes): Set size correctly if the size of the
int do_dump;
int do_version;
-static unsigned long int (* byte_get)(unsigned char *, int);
+static unsigned long int (* byte_get) PARAMS ((unsigned char *, int));
#define NUM_DUMP_SECTS 100
char dump_sects [NUM_DUMP_SECTS];
#else
static void
error (va_alist)
+ va_dcl
{
char * message;
va_list args;
static void
warn (va_alist)
- va_dcl;
+ va_dcl
{
char * message;
va_list args;
}
static char *
-get_ver_flags (unsigned short flags)
+get_ver_flags (flags)
+ unsigned short flags;
{
static char buff [32];