Subject: bin/35233: Missing stdlib.h.
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <henning.petersen@t-online.de>
List: netbsd-bugs
Date: 12/11/2006 07:20:01
>Number: 35233
>Category: bin
>Synopsis: Missing stdlib.h.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 11 07:20:00 +0000 2006
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Warning implicit declaration of exit in usr.bin/vi/catalog/dump.c.
Missing stdlib.h.
>How-To-Repeat:
>Fix:
Index: usr.bin/vi/catalog/dump.c
===================================================================
RCS file: /cvsroot/src/usr.bin/vi/catalog/dump.c,v
retrieving revision 1.3
diff -u -r1.3 dump.c
--- usr.bin/vi/catalog/dump.c 7 Aug 2003 11:17:04 -0000 1.3
+++ usr.bin/vi/catalog/dump.c 11 Dec 2006 07:09:41 -0000
@@ -41,6 +41,7 @@
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
static void
parse(fp)