From fe46552d89cc45d54303ffe25d71a78f76c5402b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Feb 1995 18:23:57 +0000 Subject: [PATCH] * hosts/std-host.h: Remove all function declarations which return int or void, except the one for free. --- bfd/ChangeLog | 5 +++++ bfd/hosts/std-host.h | 31 ------------------------------- 2 files changed, 5 insertions(+), 31 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 881e196..fe1684c 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 a0db98c..783eff9 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 -- 2.7.4