Pull in system prototypes instead of defining own ones.
From <joerg>.
This commit is contained in:
parent
74ff956e70
commit
22b94dad9b
2 changed files with 17 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.24 2009/12/03 12:39:59 asau Exp $
|
||||
$NetBSD: distinfo,v 1.25 2009/12/23 00:48:20 asau Exp $
|
||||
|
||||
SHA1 (f2c-20090411.tar.gz) = 949e832b84aaa912a99471a95c6fd449898d50e0
|
||||
RMD160 (f2c-20090411.tar.gz) = e86ff3de4564267a57f508a5a68e81af2b1a9468
|
||||
Size (f2c-20090411.tar.gz) = 1045385 bytes
|
||||
SHA1 (patch-aa) = f1224ff17cdc96f083a247dce88b690e8b939eb0
|
||||
SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea
|
||||
SHA1 (patch-ak) = 8652a54df300ddd60d9b1a9594d312349b782cf4
|
||||
|
|
15
lang/f2c/patches/patch-ak
Normal file
15
lang/f2c/patches/patch-ak
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-ak,v 1.3 2009/12/23 00:48:20 asau Exp $
|
||||
|
||||
--- src/sysdep.c.orig 2009-12-22 11:45:47.000000000 +0100
|
||||
+++ src/sysdep.c
|
||||
@@ -80,8 +80,8 @@ extern "C" {
|
||||
#define Cextern extern
|
||||
#endif
|
||||
|
||||
-Cextern int unlink Argdcl((const char *));
|
||||
-Cextern int fork Argdcl((void)), getpid Argdcl((void)), wait Argdcl((int*));
|
||||
+#include <sys/wait.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
void
|
||||
#ifdef KR_headers
|
Loading…
Reference in a new issue