From: Mark Kettenis Date: Sat, 14 Aug 2004 20:56:27 +0000 (+0000) Subject: * defs.h: Remove out-of-date comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cb0ff31a219b78f5ccde876512855cf88cd3740;p=binutils-gdb.git * defs.h: Remove out-of-date comment. [!FCLOSE_PROVIDED] (fclose): Remove prototype. [!GETENV_PROVIDED] (getenv): Remove prototype. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c35342b0fe0..4c34456a001 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2004-08-14 Mark Kettenis + * defs.h: Remove out-of-date comment. + [!FCLOSE_PROVIDED] (fclose): Remove prototype. + [!GETENV_PROVIDED] (getenv): Remove prototype. + * standalone.c: Remove file. * Makefile.in (standalone.o): Remove dependency. diff --git a/gdb/defs.h b/gdb/defs.h index 5861b43bda7..69d96856158 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1072,10 +1072,6 @@ enum gdb_osabi Libiberty thingies are no longer declared here. We include libiberty.h above, instead. */ -#ifndef GETENV_PROVIDED -extern char *getenv (const char *); -#endif - /* From other system libraries */ #ifdef HAVE_STDDEF_H @@ -1093,15 +1089,6 @@ extern char *getenv (const char *); #endif -/* We take the address of fclose later, but some stdio's forget - to declare this. We can't always declare it since there's - no way to declare the parameters without upsetting some compiler - somewhere. */ - -#ifndef FCLOSE_PROVIDED -extern int fclose (FILE *); -#endif - #ifndef atof extern double atof (const char *); /* X3.159-1989 4.10.1.1 */ #endif