summaryrefslogtreecommitdiff
path: root/libio/dbz/dbz.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/dbz/dbz.c')
-rw-r--r--libio/dbz/dbz.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libio/dbz/dbz.c b/libio/dbz/dbz.c
index 7489a09d15a..417ecde6685 100644
--- a/libio/dbz/dbz.c
+++ b/libio/dbz/dbz.c
@@ -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();