* defs.h: Remove out-of-date comment.
authorMark Kettenis <kettenis@gnu.org>
Sat, 14 Aug 2004 20:56:27 +0000 (20:56 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 14 Aug 2004 20:56:27 +0000 (20:56 +0000)
[!FCLOSE_PROVIDED] (fclose): Remove prototype.
[!GETENV_PROVIDED] (getenv): Remove prototype.

gdb/ChangeLog
gdb/defs.h

index c35342b..4c34456 100644 (file)
@@ -1,5 +1,9 @@
 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
 
+       * 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.
 
index 5861b43..69d9685 100644 (file)
@@ -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