diff --git a/lib/csu/alpha/crt0.c b/lib/csu/alpha/crt0.c index 6dd18d58efc2..3302b50f5824 100644 --- a/lib/csu/alpha/crt0.c +++ b/lib/csu/alpha/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.11 1997/10/20 20:41:09 thorpej Exp $ */ +/* $NetBSD: crt0.c,v 1.12 1998/02/03 20:01:34 perry Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -147,14 +147,14 @@ __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.11 1997/10/20 20:41:09 thorpej Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.12 1998/02/03 20:01:34 perry Exp $"); #endif /* LIBC_SCCS and not lint */ static char * _strrchr(p, ch) -register char *p, ch; +char *p, ch; { - register char *save; + char *save; for (save = NULL;; ++p) { if (*p == ch) diff --git a/lib/csu/arm32/crt0.c b/lib/csu/arm32/crt0.c index 6b81173ad03a..39087af445b9 100644 --- a/lib/csu/arm32/crt0.c +++ b/lib/csu/arm32/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.3 1997/10/05 23:12:21 mark Exp $ */ +/* $NetBSD: crt0.c,v 1.4 1998/02/03 20:01:35 perry Exp $ */ /* * Copyright (C) 1997 Mark Brinicombe @@ -59,10 +59,10 @@ start(void) * ALL REGISTER VARIABLES!!! */ - register struct kframe *kfp; - register char **targv; - register char **argv; - register int *ptr; + struct kframe *kfp; + char **targv; + char **argv; + int *ptr; /* just above the saved frame pointer */ diff --git a/lib/csu/common.c b/lib/csu/common.c index ca96505fe51b..b8667637808e 100644 --- a/lib/csu/common.c +++ b/lib/csu/common.c @@ -1,4 +1,4 @@ -/* $NetBSD: common.c,v 1.6 1997/01/03 22:37:58 scottr Exp $ */ +/* $NetBSD: common.c,v 1.7 1998/02/03 20:01:32 perry Exp $ */ /* * Copyright (c) 1993,1995 Paul Kranenburg @@ -219,8 +219,8 @@ dlerror() #ifdef DEBUG static int _strncmp(s1, s2, n) - register char *s1, *s2; - register int n; + char *s1, *s2; + int n; { if (n == 0) @@ -236,11 +236,11 @@ _strncmp(s1, s2, n) static char * _getenv(name) - register char *name; + char *name; { extern char **environ; - register int len; - register char **P, *C; + int len; + char **P, *C; for (C = name, len = 0; *C && *C != '='; ++C, ++len); for (P = environ; *P; ++P) @@ -254,9 +254,9 @@ _getenv(name) static char * _strrchr(p, ch) -register char *p, ch; +char *p, ch; { - register char *save; + char *save; for (save = NULL;; ++p) { if (*p == ch) diff --git a/lib/csu/common_aout/common.c b/lib/csu/common_aout/common.c index ca96505fe51b..b8667637808e 100644 --- a/lib/csu/common_aout/common.c +++ b/lib/csu/common_aout/common.c @@ -1,4 +1,4 @@ -/* $NetBSD: common.c,v 1.6 1997/01/03 22:37:58 scottr Exp $ */ +/* $NetBSD: common.c,v 1.7 1998/02/03 20:01:32 perry Exp $ */ /* * Copyright (c) 1993,1995 Paul Kranenburg @@ -219,8 +219,8 @@ dlerror() #ifdef DEBUG static int _strncmp(s1, s2, n) - register char *s1, *s2; - register int n; + char *s1, *s2; + int n; { if (n == 0) @@ -236,11 +236,11 @@ _strncmp(s1, s2, n) static char * _getenv(name) - register char *name; + char *name; { extern char **environ; - register int len; - register char **P, *C; + int len; + char **P, *C; for (C = name, len = 0; *C && *C != '='; ++C, ++len); for (P = environ; *P; ++P) @@ -254,9 +254,9 @@ _getenv(name) static char * _strrchr(p, ch) -register char *p, ch; +char *p, ch; { - register char *save; + char *save; for (save = NULL;; ++p) { if (*p == ch) diff --git a/lib/csu/mips/crt0.c b/lib/csu/mips/crt0.c index 97fc8800f550..b4b0472469d0 100644 --- a/lib/csu/mips/crt0.c +++ b/lib/csu/mips/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.5 1997/10/20 03:24:49 jonathan Exp $ */ +/* $NetBSD: crt0.c,v 1.6 1998/02/03 20:01:37 perry Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -124,14 +124,14 @@ asm(".text; .align 4; .globl _start; _start:"); void __start(sp, cleanup, obj, ps_strings) - register u_long sp; - register void (*cleanup) __P((void)); /* from shared loader */ - register const Obj_Entry *obj; /* from shared loader */ - register struct ps_strings *ps_strings; + u_long sp; + void (*cleanup) __P((void)); /* from shared loader */ + const Obj_Entry *obj; /* from shared loader */ + struct ps_strings *ps_strings; { - register char **ksp; - register char **argv, *namep; - register int argc; + char **ksp; + char **argv, *namep; + int argc; /* * Grab the argc, argv, and envp set up by the kernel. @@ -227,15 +227,15 @@ __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.5 1997/10/20 03:24:49 jonathan Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.6 1998/02/03 20:01:37 perry Exp $"); #endif /* LIBC_SCCS and not lint */ static char * _strrchr(p, ch) -register char *p, ch; +char *p, ch; { - register char *save; + char *save; for (save = NULL; ; ++p) { if (*p == ch) diff --git a/lib/csu/ns32k/crt0.c b/lib/csu/ns32k/crt0.c index bf761d390576..28920eacd492 100644 --- a/lib/csu/ns32k/crt0.c +++ b/lib/csu/ns32k/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.10 1997/10/09 12:29:32 lukem Exp $ */ +/* $NetBSD: crt0.c,v 1.11 1998/02/03 20:01:38 perry Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -32,7 +32,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: crt0.c,v 1.10 1997/10/09 12:29:32 lukem Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.11 1998/02/03 20:01:38 perry Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -58,7 +58,7 @@ extern void start __P((char *)) __asm("start"); * The address of PS_STRINGS is passed in r7 by the kernel. */ -register struct ps_strings *kps_strings __asm("r7"); +struct ps_strings *kps_strings __asm("r7"); void start(arg0) diff --git a/lib/csu/powerpc/crt0.c b/lib/csu/powerpc/crt0.c index fd88dd326bac..b93d128cec76 100644 --- a/lib/csu/powerpc/crt0.c +++ b/lib/csu/powerpc/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.6 1997/10/20 20:40:27 thorpej Exp $ */ +/* $NetBSD: crt0.c,v 1.7 1998/02/03 20:01:41 perry Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -149,14 +149,14 @@ _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.6 1997/10/20 20:40:27 thorpej Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.7 1998/02/03 20:01:41 perry Exp $"); #endif /* LIBC_SCCS and not lint */ static char * _strrchr(p, ch) -register char *p, ch; +char *p, ch; { - register char *save; + char *save; for (save = NULL;; ++p) { if (*p == ch) diff --git a/lib/csu/vax/crt0.c b/lib/csu/vax/crt0.c index a9615b6f9c23..f1f1fb628256 100644 --- a/lib/csu/vax/crt0.c +++ b/lib/csu/vax/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.5 1997/10/20 16:09:27 christos Exp $ */ +/* $NetBSD: crt0.c,v 1.6 1998/02/03 20:01:43 perry Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -50,8 +50,8 @@ start() /* * ALL REGISTER VARIABLES!!! */ - register struct kframe *kfp; - register char **argv, *ap; + struct kframe *kfp; + char **argv, *ap; #ifdef lint kfp = 0; @@ -106,7 +106,7 @@ asm ("__callmain:"); /* Defined for the benefit of debuggers */ #include "common.c" #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: crt0.c,v 1.5 1997/10/20 16:09:27 christos Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.6 1998/02/03 20:01:43 perry Exp $"); #endif /* LIBC_SCCS and not lint */ #ifdef MCRT0