summaryrefslogtreecommitdiff
path: root/net/ywho/patches/patch-aa
blob: cc3d8108134fa2b5f78076d32fe48f395ec63072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.1 2006/05/10 06:13:51 minskim Exp $

--- ywho.c.orig	2000-12-17 17:03:10.000000000 +0000
+++ ywho.c
@@ -351,7 +351,7 @@ char    *argv[];
 	    }
 	else
 	    addhost(argv[i]);
-nextarg:
+nextarg:;
     }
 
     if (hosts == NIL(hosts_t)) {
@@ -650,7 +650,6 @@ unsigned nth;
 {
 #ifndef lint
     char *ptr;
-    extern char *malloc();
 
     if ((ptr = malloc(nth)) == NIL(char)) {
 	(void) fprintf(stderr, "%s: Out of memory.\n", pname);