Commit d14cfa2a by Zack Weinberg Committed by Zack Weinberg

dbz.c, dbzmain.c: Include stdlib.h.

	* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h.  Don't declare
	malloc, calloc, free, atol, atoi, or errno.  (errno.h was
	already being included.)

From-SVN: r31659
parent c65ede67
2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare
malloc, calloc, free, atol, atoi, or errno. (errno.h was
already being included.)
2000-01-12 Fred Fish <fnf@be.com>
* configure.in (*-*-beos*): Recognize.
......
......@@ -27,9 +27,7 @@ if the incore facility is used.
#include <string.h>
#include <ctype.h>
#include <errno.h>
#ifndef __STDC__
extern int errno;
#endif
#include <stdlib.h>
#include <dbz.h>
/*
......@@ -302,13 +300,6 @@ static int debug; /* controlled by dbzdebug() */
#define DEBUG(args) ;
#endif
/* externals used */
extern char *malloc();
extern char *calloc();
extern void free(); /* ANSI C; some old implementations say int */
extern int atoi();
extern long atol();
/* misc. forwards */
static long hash();
static void crcinit();
......
......@@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
#include <dbz.h>
#ifdef FUNNYSEEKS
......@@ -74,8 +75,6 @@ extern char *rfc822ize();
#define rfc822ize(n) (n)
#endif
extern char *malloc();
/*
- main - parse arguments and handle options
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment