add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary
[openwrt/svn-archive/archive.git] / openwrt / package / ulogd / patches / ulogd-1.23-gcc4.patch
1 diff -ur ulogd-1.23/extensions/ulogd_SYSLOG.c ulogd-1.23-owrt/extensions/ulogd_SYSLOG.c
2 --- ulogd-1.23/extensions/ulogd_SYSLOG.c 2005-02-12 22:17:41.000000000 +0100
3 +++ ulogd-1.23-owrt/extensions/ulogd_SYSLOG.c 2006-01-29 19:58:43.000000000 +0100
4 @@ -136,7 +136,7 @@
5 .name = "syslog",
6 .init = &syslog_init,
7 .fini = &syslog_fini,
8 - .output &_output_syslog
9 + .output = &_output_syslog
10 };
11
12
13 diff -ur ulogd-1.23/include/ulogd/ulogd.h ulogd-1.23-owrt/include/ulogd/ulogd.h
14 --- ulogd-1.23/include/ulogd/ulogd.h 2004-04-25 00:40:54.000000000 +0200
15 +++ ulogd-1.23-owrt/include/ulogd/ulogd.h 2006-01-29 19:58:40.000000000 +0100
16 @@ -56,8 +56,6 @@
17 #define ULOGD_ERROR 7 /* error condition, requires user action */
18 #define ULOGD_FATAL 8 /* fatal, program aborted */
19
20 -extern FILE *logfile;
21 -
22 typedef struct ulog_iret {
23 /* next interpreter return (key) in the global list */
24 struct ulog_iret *next;