From: Ian Lance Taylor Date: Thu, 16 Feb 1995 18:23:57 +0000 (+0000) Subject: * hosts/std-host.h: Remove all function declarations which return X-Git-Tag: gdb-4_18~12381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe46552d89cc45d54303ffe25d71a78f76c5402b;p=platform%2Fupstream%2Fbinutils.git * hosts/std-host.h: Remove all function declarations which return int or void, except the one for free. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 881e196ef06..fe1684cb8d9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 16 13:22:29 1995 Ian Lance Taylor + + * hosts/std-host.h: Remove all function declarations which return + int or void, except the one for free. + Wed Feb 15 14:54:18 1995 Michael Meissner * elf32-ppc.c (elf_powerpc_howto_table): Use a destination mask of diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h index a0db98c3ac4..783eff9330d 100644 --- a/bfd/hosts/std-host.h +++ b/bfd/hosts/std-host.h @@ -22,29 +22,8 @@ /*#include */ #else extern char *mktemp (); -extern int fflush (); -extern int write (); -extern void abort (); -extern int close (); -extern void exit (); -extern int fseek (); -extern int fclose (); -extern void bcopy (); -extern int bcmp (); -extern void bzero (); extern PTR memset (); -/* These used to be declared to return void. As far as I know that is just - wrong; are there any systems for which they actually don't return a - value (EOF for error, something else for success). */ -extern int puts (); -extern int fputs (); - -extern int rmdir (); -extern int getuid (); -extern int getgid (); -extern int rename (); -extern void perror (); #ifndef DONTDECLARE_MALLOC extern PTR malloc (); extern PTR realloc (); @@ -66,21 +45,11 @@ extern char * strchr(); extern char *getenv(); extern PTR memchr(); extern char *strrchr(); -extern int chmod(); -extern int fstat(); -extern int stat(); extern char *strrchr(); extern char *ctime(); -extern int _flsbuf(); -extern int fclose(); -/*extern int time(); this causes error with time.h on mach3 */ -extern int utimes(); -extern int vfprintf(); extern long atol(); extern char *getenv(); -extern int fputc(); -extern int unlink(); #endif /* STDC_HEADERS */ #ifndef BYTES_IN_PRINTF_INT