]> git.pld-linux.org Git - packages/cups.git/commitdiff
- Conflicting types
authoradgor <adgor@pld-linux.org>
Wed, 12 May 2004 16:45:05 +0000 (16:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-gcc34.patch -> 1.1

cups-gcc34.patch [new file with mode: 0644]

diff --git a/cups-gcc34.patch b/cups-gcc34.patch
new file mode 100644 (file)
index 0000000..7a6cf9b
--- /dev/null
@@ -0,0 +1,42 @@
+--- cups-1.1.20/scripting/php/phpcups.c.orig   2003-08-15 00:29:23.000000000 +0200
++++ cups-1.1.20/scripting/php/phpcups.c        2004-05-12 18:25:10.647426632 +0200
+@@ -818,6 +818,17 @@
+   return(options);
+ }
++void _zz_internal_log( char *func, char *line )
++{
++  FILE *fp;
++
++  if ((fp = fopen("/var/log/cups/project.log","a")) == NULL)
++      return;
++
++  fprintf(fp,"phpcups: %s - %s\n", func, line );
++  fflush(fp);
++  fclose(fp);
++}
+ /*
+  *  Function:    cups_print_file
+@@ -1333,21 +1344,6 @@
+   return (num_attrs);
+ }
+-
+-void _zz_internal_log( char *func, char *line )
+-{
+-  FILE *fp;
+-
+-  if ((fp = fopen("/var/log/cups/project.log","a")) == NULL)
+-      return;
+-
+-  fprintf(fp,"phpcups: %s - %s\n", func, line );
+-  fflush(fp);
+-  fclose(fp);
+-}
+-
+-
+-
+ /*
+  * End of "$Id$".
+  */
This page took 0.683739 seconds and 4 git commands to generate.