diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-14 06:35:01 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-14 06:35:01 +0000 |
commit | 7b69e407fa287f39a048afcbd8b34405739e8368 (patch) | |
tree | 038aa3dc2f61b884cca67a3e4a3dda230110dcac /include/libiberty.h | |
parent | ae9660c87616b7088dee7ed41b203b5fdea0217c (diff) | |
download | gcc-7b69e407fa287f39a048afcbd8b34405739e8368.tar.gz |
* libiberty.h (basename): OpenBSD has a correct prototype.
(xrealloc): Remove outdated comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29390 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 0bcce6710ba..6832c7e937b 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -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)); |