]> git.pld-linux.org Git - packages/compface.git/commitdiff
- include <errno.h>; don't play games with extern int errno
authorMichal Moskal <michal@moskal.me>
Fri, 4 Apr 2003 17:07:08 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    compface-errno.patch -> 1.1

compface-errno.patch [new file with mode: 0644]

diff --git a/compface-errno.patch b/compface-errno.patch
new file mode 100644 (file)
index 0000000..2ab8622
--- /dev/null
@@ -0,0 +1,42 @@
+diff -ur compface-1.4/cmain.c compface-1.4-/cmain.c
+--- compface-1.4/cmain.c       Thu Nov 23 01:51:03 2000
++++ compface-1.4-/cmain.c      Fri Apr  4 19:03:16 2003
+@@ -36,6 +36,8 @@
+ #include <string.h>
+ #endif
++#include <errno.h>
++
+ #include "compface.h"
+ /* the buffer is longer than needed to handle sparse input formats */
+@@ -57,8 +59,6 @@
+ extern int errno, sys_nerr;
+ extern char *sys_errlist[];
+ #else
+-extern int errno;
+-char *strerror();
+ char *strerrorwrap();
+ #endif
+diff -ur compface-1.4/uncmain.c compface-1.4-/uncmain.c
+--- compface-1.4/uncmain.c     Thu Nov 23 01:51:24 2000
++++ compface-1.4-/uncmain.c    Fri Apr  4 19:03:44 2003
+@@ -36,6 +36,8 @@
+ #include <string.h>
+ #endif
++#include <errno.h>
++
+ #include "compface.h"
+ /* the buffer is longer than needed to handle sparse input formats */
+@@ -57,8 +59,6 @@
+ extern int errno, sys_nerr;
+ extern char *sys_errlist[];
+ #else
+-extern int errno;
+-char *strerror();
+ char *strerrorwrap();
+ #endif
This page took 0.082133 seconds and 4 git commands to generate.