diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-04-15 20:36:33 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-04-15 20:36:33 +0000 |
commit | c9ac9147cfe3ffb4cc530682b0f3f807d860d8a4 (patch) | |
tree | 3a3d8d2a1200271f88e99f0c99b9d1269be9d399 /libiberty/calloc.c | |
parent | 8a4680dba6c895290289e0019ac962ccc2f5afb5 (diff) | |
download | gcc-c9ac9147cfe3ffb4cc530682b0f3f807d860d8a4.zip gcc-c9ac9147cfe3ffb4cc530682b0f3f807d860d8a4.tar.gz gcc-c9ac9147cfe3ffb4cc530682b0f3f807d860d8a4.tar.bz2 |
argv.c: Fix comments.
* argv.c: Fix comments.
* calloc.c: Don't unnecessarily include "libiberty.h".
(bzero): Add prototype.
* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
* getcwd.c (getcwd): Use standard definition to avoid conflicts
with system headers.
* hashtab.c (htab_traverse): Delete unused variables.
* rename.c: Include "ansidecl.h".
(rename): Use standard definition to avoid conflicts with system
headers.
* strsignal.c: Rely on ANSI_PROTOTYPES.
* strstr.c: Check GNUC >= 2, not GNUC == 2.
* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
* vprintf.c: Include "ansidecl.h" earlier, rely on
ANSI_PROTOTYPES.
* vsprintf.c: Include "ansidecl.h" earlier, rely on
ANSI_PROTOTYPES and possibly include <stdarg.h>.
* Makefile.in: Regenerate dependencies.
From-SVN: r65659
Diffstat (limited to 'libiberty/calloc.c')
-rw-r--r-- | libiberty/calloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libiberty/calloc.c b/libiberty/calloc.c index b342f6c..5073682 100644 --- a/libiberty/calloc.c +++ b/libiberty/calloc.c @@ -13,8 +13,6 @@ Uses @code{malloc} to allocate storage for @var{nelem} objects of */ #include "ansidecl.h" -#include "libiberty.h" - #ifdef ANSI_PROTOTYPES #include <stddef.h> #else @@ -23,6 +21,7 @@ Uses @code{malloc} to allocate storage for @var{nelem} objects of /* For systems with larger pointers than ints, this must be declared. */ PTR malloc PARAMS ((size_t)); +void bzero PARAMS ((PTR, size_t)); PTR calloc (nelem, elsize) |