* hosts/std-host.h: Remove all function declarations which return

int or void, except the one for free.
This commit is contained in:
Ian Lance Taylor 1995-02-16 18:23:57 +00:00
parent 983bfa6327
commit fe46552d89
2 changed files with 5 additions and 31 deletions

View File

@ -1,3 +1,8 @@
Thu Feb 16 13:22:29 1995 Ian Lance Taylor <ian@cygnus.com>
* 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 <meissner@tiktok.cygnus.com>
* elf32-ppc.c (elf_powerpc_howto_table): Use a destination mask of

View File

@ -22,29 +22,8 @@
/*#include <string.h>*/
#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