Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys use a local vfork declaration to avoid symbol r...



details:   https://anonhg.NetBSD.org/src/rev/6d4b237240b3
branches:  trunk
changeset: 472663:6d4b237240b3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 04 13:53:11 1999 +0000

description:
use a local vfork declaration to avoid symbol renaming.

diffstat:

 lib/libc/sys/Lint_Ovfork.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 240250016080 -r 6d4b237240b3 lib/libc/sys/Lint_Ovfork.c
--- a/lib/libc/sys/Lint_Ovfork.c        Tue May 04 13:51:39 1999 +0000
+++ b/lib/libc/sys/Lint_Ovfork.c        Tue May 04 13:53:11 1999 +0000
@@ -1,11 +1,17 @@
-/*     $NetBSD: Lint_Ovfork.c,v 1.1 1997/11/06 00:52:49 cgd Exp $      */
+/*     $NetBSD: Lint_Ovfork.c,v 1.2 1999/05/04 13:53:11 christos Exp $ */
 
 /*
  * This file placed in the public domain.
  * Chris Demetriou, November 5, 1997.
  */
 
+#if 0
 #include <unistd.h>
+#else
+#include <sys/cdefs.h>
+#include <sys/types.h>
+pid_t vfork __P((void));
+#endif
 
 /*ARGSUSED*/
 pid_t



Home | Main Index | Thread Index | Old Index