summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-25 04:34:12 +0000
committermycroft <mycroft@NetBSD.org>1998-07-25 04:34:12 +0000
commitd005dcbce0e554ab5c1e73473cc04dbb31ea2a7b (patch)
tree9b8413d05b00af5bb6b4397faa702ea7e32c4cee /lib
parent1b12566fa8c0a8341d99415e7b815fcbbf28a9a7 (diff)
Don't pull in param.h (and therefore don't pull in unistd.h).
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/alpha/crt0.c5
-rw-r--r--lib/csu/alpha/crtbegin.c3
-rw-r--r--lib/csu/arm32/crt0.c4
-rw-r--r--lib/csu/common.h4
-rw-r--r--lib/csu/common_aout/common.h4
-rw-r--r--lib/csu/common_elf/crtbegin.c3
-rw-r--r--lib/csu/i386/crt0.c7
-rw-r--r--lib/csu/m68k/crt0.c7
-rw-r--r--lib/csu/mips/crt0.c7
-rw-r--r--lib/csu/mips/crtbegin.c3
-rw-r--r--lib/csu/ns32k/crt0.c6
-rw-r--r--lib/csu/powerpc/crt0.c5
-rw-r--r--lib/csu/powerpc/crtbegin.c3
-rw-r--r--lib/csu/sparc/crt0.c7
-rw-r--r--lib/csu/vax/crt0.c6
15 files changed, 25 insertions, 49 deletions
diff --git a/lib/csu/alpha/crt0.c b/lib/csu/alpha/crt0.c
index 82d116a82b6..4ded50bd1aa 100644
--- a/lib/csu/alpha/crt0.c
+++ b/lib/csu/alpha/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.14 1998/03/28 00:52:07 cgd Exp $ */
+/* $NetBSD: crt0.c,v 1.15 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -31,7 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/syscall.h>
#include <vm/vm.h>
@@ -139,7 +138,7 @@ __start(sp, cleanup, obj, ps_strings)
* NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
*/
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.14 1998/03/28 00:52:07 cgd Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.15 1998/07/25 04:34:12 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
static char *
diff --git a/lib/csu/alpha/crtbegin.c b/lib/csu/alpha/crtbegin.c
index 9aa1f9cd8f2..3045844b120 100644
--- a/lib/csu/alpha/crtbegin.c
+++ b/lib/csu/alpha/crtbegin.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.c,v 1.6 1998/05/06 20:45:54 ross Exp $ */
+/* $NetBSD: crtbegin.c,v 1.7 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -45,7 +45,6 @@
* null-terminated.
*/
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
#include <stdlib.h>
diff --git a/lib/csu/arm32/crt0.c b/lib/csu/arm32/crt0.c
index a6cd31ac33f..72bdddbdc76 100644
--- a/lib/csu/arm32/crt0.c
+++ b/lib/csu/arm32/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.5 1998/03/10 22:32:08 mark Exp $ */
+/* $NetBSD: crt0.c,v 1.6 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (C) 1997 Mark Brinicombe
@@ -32,8 +32,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/param.h>
-
#include <stdlib.h>
#include "common.h"
diff --git a/lib/csu/common.h b/lib/csu/common.h
index 65086f9e670..8fb8a9aea68 100644
--- a/lib/csu/common.h
+++ b/lib/csu/common.h
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.8 1998/07/25 04:23:44 mycroft Exp $ */
+/* $NetBSD: common.h,v 1.9 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -65,7 +65,7 @@ static int _strncmp __P((char *, char *, int));
#ifdef sun
#define LDSO "/usr/lib/ld.so"
#endif
-#ifdef BSD
+#ifdef __NetBSD__
#define LDSO "/usr/libexec/ld.so"
#endif
diff --git a/lib/csu/common_aout/common.h b/lib/csu/common_aout/common.h
index 65086f9e670..8fb8a9aea68 100644
--- a/lib/csu/common_aout/common.h
+++ b/lib/csu/common_aout/common.h
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.8 1998/07/25 04:23:44 mycroft Exp $ */
+/* $NetBSD: common.h,v 1.9 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -65,7 +65,7 @@ static int _strncmp __P((char *, char *, int));
#ifdef sun
#define LDSO "/usr/lib/ld.so"
#endif
-#ifdef BSD
+#ifdef __NetBSD__
#define LDSO "/usr/libexec/ld.so"
#endif
diff --git a/lib/csu/common_elf/crtbegin.c b/lib/csu/common_elf/crtbegin.c
index 9aa1f9cd8f2..3045844b120 100644
--- a/lib/csu/common_elf/crtbegin.c
+++ b/lib/csu/common_elf/crtbegin.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.c,v 1.6 1998/05/06 20:45:54 ross Exp $ */
+/* $NetBSD: crtbegin.c,v 1.7 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -45,7 +45,6 @@
* null-terminated.
*/
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
#include <stdlib.h>
diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c
index e137e82a65d..9ab921bc890 100644
--- a/lib/csu/i386/crt0.c
+++ b/lib/csu/i386/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.28 1997/10/20 13:49:45 mycroft Exp $ */
+/* $NetBSD: crt0.c,v 1.29 1998/07/25 04:34:12 mycroft Exp $ */
/*
* Copyright (c) 1996 Charles M. Hannum. All rights reserved.
@@ -31,9 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#include <sys/param.h>
-
#include <stdlib.h>
#include "common.h"
@@ -59,7 +56,7 @@ start:
");
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.28 1997/10/20 13:49:45 mycroft Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.29 1998/07/25 04:34:12 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
void
diff --git a/lib/csu/m68k/crt0.c b/lib/csu/m68k/crt0.c
index 2427031ebdb..8680b2a1b84 100644
--- a/lib/csu/m68k/crt0.c
+++ b/lib/csu/m68k/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.18 1997/10/20 13:49:54 mycroft Exp $ */
+/* $NetBSD: crt0.c,v 1.19 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1996 Charles M. Hannum. All rights reserved.
@@ -31,9 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#include <sys/param.h>
-
#include <stdlib.h>
#include "common.h"
@@ -59,7 +56,7 @@ start:
");
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.18 1997/10/20 13:49:54 mycroft Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.19 1998/07/25 04:34:13 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
void
diff --git a/lib/csu/mips/crt0.c b/lib/csu/mips/crt0.c
index 6a5c53aef06..d072c7cf1ed 100644
--- a/lib/csu/mips/crt0.c
+++ b/lib/csu/mips/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.7 1998/02/07 20:44:40 thorpej Exp $ */
+/* $NetBSD: crt0.c,v 1.8 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -37,13 +37,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#ifdef ECOFF_COMPAT
#undef DYNAMIC
#endif
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/syscall.h>
#include <vm/vm.h>
@@ -227,7 +224,7 @@ __start(sp, cleanup, obj, ps_strings)
* is the entrypoint. (Only needed for old toolchains).
*/
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.7 1998/02/07 20:44:40 thorpej Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.8 1998/07/25 04:34:13 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/csu/mips/crtbegin.c b/lib/csu/mips/crtbegin.c
index d4413d7bc13..721d4ed748a 100644
--- a/lib/csu/mips/crtbegin.c
+++ b/lib/csu/mips/crtbegin.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.c,v 1.1 1998/05/09 03:48:37 mrg Exp $ */
+/* $NetBSD: crtbegin.c,v 1.2 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -45,7 +45,6 @@
* null-terminated.
*/
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
#include <stdlib.h>
diff --git a/lib/csu/ns32k/crt0.c b/lib/csu/ns32k/crt0.c
index 1365d57c2b2..580d65f6bd9 100644
--- a/lib/csu/ns32k/crt0.c
+++ b/lib/csu/ns32k/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.13 1998/04/21 19:53:39 matthias Exp $ */
+/* $NetBSD: crt0.c,v 1.14 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -30,8 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#include <sys/param.h>
#include <stdlib.h>
#include "common.h"
@@ -99,7 +97,7 @@ __asm("__callmain:"); /* Defined for the benefit of debuggers */
* is the entrypoint. (Not really necessary, just to avoid confusion).
*/
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.13 1998/04/21 19:53:39 matthias Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.14 1998/07/25 04:34:13 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef DYNAMIC
diff --git a/lib/csu/powerpc/crt0.c b/lib/csu/powerpc/crt0.c
index 6867d9e32cb..4284fcdcd7f 100644
--- a/lib/csu/powerpc/crt0.c
+++ b/lib/csu/powerpc/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.8 1998/03/27 09:11:33 jtc Exp $ */
+/* $NetBSD: crt0.c,v 1.9 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -37,7 +37,6 @@
#undef DYNAMIC
#endif
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/syscall.h>
#include <vm/vm.h>
@@ -149,7 +148,7 @@ _start(argc, argv, envp, obj, cleanup, ps_strings)
* NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
*/
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.8 1998/03/27 09:11:33 jtc Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.9 1998/07/25 04:34:13 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
static char *
diff --git a/lib/csu/powerpc/crtbegin.c b/lib/csu/powerpc/crtbegin.c
index 34472a9f06a..49dcf0ad60a 100644
--- a/lib/csu/powerpc/crtbegin.c
+++ b/lib/csu/powerpc/crtbegin.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.c,v 1.3 1998/03/27 09:11:33 jtc Exp $ */
+/* $NetBSD: crtbegin.c,v 1.4 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -45,7 +45,6 @@
* null-terminated.
*/
-#include <sys/param.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
#include <stdlib.h>
diff --git a/lib/csu/sparc/crt0.c b/lib/csu/sparc/crt0.c
index 735b5c3fd9c..faf81c9a127 100644
--- a/lib/csu/sparc/crt0.c
+++ b/lib/csu/sparc/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.23 1997/10/20 16:08:28 christos Exp $ */
+/* $NetBSD: crt0.c,v 1.24 1998/07/25 04:34:13 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -30,9 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-#include <sys/cdefs.h>
-#include <sys/param.h>
#include <stdlib.h>
#include "common.h"
@@ -222,7 +219,7 @@ __call()
#include "common.c"
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.23 1997/10/20 16:08:28 christos Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.24 1998/07/25 04:34:13 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef MCRT0
diff --git a/lib/csu/vax/crt0.c b/lib/csu/vax/crt0.c
index f1f1fb62825..09df0c33d53 100644
--- a/lib/csu/vax/crt0.c
+++ b/lib/csu/vax/crt0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.6 1998/02/03 20:01:43 perry Exp $ */
+/* $NetBSD: crt0.c,v 1.7 1998/07/25 04:34:14 mycroft Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -30,8 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#include <sys/param.h>
#include <stdlib.h>
#include "common.h"
@@ -106,7 +104,7 @@ asm ("__callmain:"); /* Defined for the benefit of debuggers */
#include "common.c"
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.6 1998/02/03 20:01:43 perry Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.7 1998/07/25 04:34:14 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef MCRT0