summaryrefslogtreecommitdiff
path: root/package/syslog-ng/patches/patch-src_cfg-lex_c
blob: b9d37d77921226369631949a12843c7526a57cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$Id$
--- syslog-ng-1.6.11.orig/src/cfg-lex.c	2006-03-27 14:44:46.000000000 +0000
+++ syslog-ng-1.6.11/src/cfg-lex.c	2007-02-15 20:40:14.000000000 +0000
@@ -667,7 +667,9 @@ static void append_char(char c);
 #ifdef __cplusplus
 extern "C" int yywrap (void );
 #else
-extern int yywrap (void );
+int yywrap (void ) {
+	return 1;
+}
 #endif
 #endif