From c9ac9147cfe3ffb4cc530682b0f3f807d860d8a4 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 15 Apr 2003 20:36:33 +0000 Subject: 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 . * Makefile.in: Regenerate dependencies. From-SVN: r65659 --- libiberty/calloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libiberty/calloc.c') 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 #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) -- cgit v1.1