summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-aw
blob: d933678a537b25eec205dec1e45bd7fa1dbc05e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aw,v 1.1 2005/12/19 15:10:18 joerg Exp $

--- src/toss/dbz.c.orig	2005-12-19 15:00:58.000000000 +0000
+++ src/toss/dbz.c
@@ -46,6 +46,8 @@ if the incore facility is used.
  * NOBUFFER	do not buffer hash-table i/o, B News locking is defective
  */
 
+#include <stdlib.h>
+
 #ifdef FUNNYSEEKS
 #include <unistd.h>
 #else
@@ -299,13 +301,6 @@ static int debug;			/* controlled by dbz
 #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();