]> gcc.gnu.org Git - gcc.git/commitdiff
libiberty.h (basename): OpenBSD has a correct prototype.
authorMarc Espie <espie@cvs.openbsd.org>
Tue, 14 Sep 1999 06:35:01 +0000 (06:35 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 14 Sep 1999 06:35:01 +0000 (00:35 -0600)
        * libiberty.h (basename):  OpenBSD has a correct prototype.
        (xrealloc):  Remove outdated comment.

From-SVN: r29390

include/ChangeLog
include/libiberty.h

index 0f317e9b0a8d01bd415ae706e750fddbf722a306..b70a852338434d37c8ce8080da20e6aa16f55a0c 100644 (file)
@@ -1,3 +1,8 @@
+Tue Sep 14 00:35:02 1999  Marc Espie <espie@cvs.openbsd.org>
+
+       * libiberty.h (basename):  OpenBSD has a correct prototype.
+       (xrealloc):  Remove outdated comment.
+
 1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
 
        * libiberty.h (xmemdup): Add prototype for new function.
index 0bcce6710bac79b8702cecc531bfc04649f43052..6832c7e937bbac2ae5b9116e588d064d345c2282 100644 (file)
@@ -36,7 +36,7 @@ extern char **dupargv PARAMS ((char **));
    across different systems, sometimes as "char *" and sometimes as
    "const char *" */
 
-#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__)
 extern char *basename PARAMS ((const char *));
 #else
 extern char *basename ();
@@ -133,10 +133,7 @@ extern void xmalloc_set_program_name PARAMS ((const char *));
 #endif
 extern PTR xmalloc PARAMS ((size_t));
 
-/* Reallocate memory without fail.  This works like xmalloc.
-
-   FIXME: We do not declare the parameter types for the same reason as
-   xmalloc.  */
+/* Reallocate memory without fail.  This works like xmalloc.  */
 
 extern PTR xrealloc PARAMS ((PTR, size_t));
 
This page took 0.058016 seconds and 5 git commands to generate.