diff options
Diffstat (limited to 'lib/libc/stdlib/calloc.c')
-rw-r--r-- | lib/libc/stdlib/calloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/calloc.c b/lib/libc/stdlib/calloc.c index 7a83603..ced9273 100644 --- a/lib/libc/stdlib/calloc.c +++ b/lib/libc/stdlib/calloc.c @@ -34,6 +34,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)calloc.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> @@ -41,9 +43,9 @@ static char sccsid[] = "@(#)calloc.c 8.1 (Berkeley) 6/4/93"; void * calloc(num, size) size_t num; - register size_t size; + size_t size; { - register void *p; + void *p; size *= num; if ( (p = malloc(size)) ) |