]> git.pld-linux.org Git - packages/LPRng.git/blame - LPRng-gcc33.patch
- patched for gcc 3.3 (declaration conflict with log() builtin)
[packages/LPRng.git] / LPRng-gcc33.patch
CommitLineData
5c1c4970
JB
1--- LPRng-3.8.21/src/common/lpf.c.orig 2003-04-16 01:37:42.000000000 +0200
2+++ LPRng-3.8.21/src/common/lpf.c 2003-08-06 00:21:26.000000000 +0200
3@@ -188,7 +188,7 @@
4 int crlf; /* change lf to CRLF */
5
6 void getargs( int argc, char *argv[], char *envp[] );
7-void log( char *msg, ... );
8+void lognerr( char *msg, ... );
9 void logerr( char *msg, ... );
10 void logerr_die( char *msg, ... );
11 void fatal( char *msg, ... );
12@@ -312,9 +312,9 @@
13 }
14
15 #ifdef HAVE_STDARGS
16-void log(char *msg, ...)
17+void lognerr(char *msg, ...)
18 #else
19-void log( va_alist ) va_dcl
20+void lognerr( va_alist ) va_dcl
21 #endif
22 {
23 #ifndef HAVE_STDARGS
This page took 0.036128 seconds and 4 git commands to generate.