summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-genmon_genmon_c
blob: 14611a2988a4f300b086eab5744ed97be903148e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-genmon_genmon_c,v 1.1 2012/09/09 19:35:21 dholland Exp $

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
@@ -56,6 +56,8 @@
 #include <sys/file.h>			/* for access() defines */
 #include <string.h>
 
+EVENT *logstr_to_event(char *s);
+
 #ifndef SLEEPTIME
 # define SLEEPTIME  15			/* after each popen()  */
 #endif