diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-10 18:03:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-10 18:03:21 +0000 |
commit | 2747b739d1e25b8914b5aca8aac406f1e3954750 (patch) | |
tree | 872dcbc58fed59f9d7ed32a5818fd78ea6bc0a4d /misc/lile/patches | |
parent | f1e2e5680c3da291cb266f22122af732368a7ef7 (diff) | |
download | pkgsrc-2747b739d1e25b8914b5aca8aac406f1e3954750.tar.gz |
Welcome in the 21st century. errno, malloc and realloc are all
part of ISO C, don't define them manually.
Diffstat (limited to 'misc/lile/patches')
-rw-r--r-- | misc/lile/patches/patch-aa | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/misc/lile/patches/patch-aa b/misc/lile/patches/patch-aa index 5f2e36077e1..3952e0c2578 100644 --- a/misc/lile/patches/patch-aa +++ b/misc/lile/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ +$NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $ ---- ile.c.orig Wed Jun 9 05:12:33 1993 +--- ile.c.orig 1993-06-09 03:12:33.000000000 +0000 +++ ile.c @@ -2,6 +2,7 @@ /* Copyright message is near the bottom of the file */ @@ -10,15 +10,16 @@ $NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ /* #define DEBUG /**/ -@@ -43,7 +44,6 @@ +@@ -43,7 +44,7 @@ void setup_action_table(); #include <stdio.h> #include <fcntl.h> #include <sgtty.h> -#include <signal.h> ++#include <stdlib.h> #include <string.h> #include <strings.h> #include <pwd.h> -@@ -51,7 +51,7 @@ +@@ -51,7 +52,7 @@ void setup_action_table(); #include <errno.h> #include <sys/ioctl.h> #include <sys/types.h> @@ -27,11 +28,15 @@ $NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ #include <sys/file.h> #include <sys/time.h> #include <sys/wait.h> -@@ -63,7 +63,6 @@ - /* Definitions of system stuff. */ - extern int errno; +@@ -61,11 +62,6 @@ void setup_action_table(); + */ + /* Definitions of system stuff. */ +-extern int errno; +- -long lseek(); - char *malloc(); - char *realloc(); +-char *malloc(); +-char *realloc(); time_t time(); + + #ifndef TRUE |