diff options
Diffstat (limited to 'net/nocol/patches/patch-genmon_genmon_c')
-rw-r--r-- | net/nocol/patches/patch-genmon_genmon_c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/nocol/patches/patch-genmon_genmon_c b/net/nocol/patches/patch-genmon_genmon_c index 14611a2988a..8ec991bb449 100644 --- a/net/nocol/patches/patch-genmon_genmon_c +++ b/net/nocol/patches/patch-genmon_genmon_c @@ -1,17 +1,19 @@ -$NetBSD: patch-genmon_genmon_c,v 1.1 2012/09/09 19:35:21 dholland Exp $ +$NetBSD: patch-genmon_genmon_c,v 1.2 2016/03/13 09:06:01 dholland Exp $ -Functions returning pointers must be declared before being called. +- Use standard headers. +- Functions returning pointers must be declared before being called. (The function in question does not appear to be in any header file and it isn't clear which if any it should be added to.) ---- genmon/genmon.c~ 1998-07-15 16:27:49.000000000 +0000 +--- genmon/genmon.c.orig 1998-07-15 16:27:49.000000000 +0000 +++ genmon/genmon.c -@@ -56,6 +56,8 @@ +@@ -55,6 +55,9 @@ + #include "nocol.h" #include <sys/file.h> /* for access() defines */ #include <string.h> - -+EVENT *logstr_to_event(char *s); ++#include <stdlib.h> + ++EVENT *logstr_to_event(char *s); + #ifndef SLEEPTIME # define SLEEPTIME 15 /* after each popen() */ - #endif |