diff options
| author | perry <perry@NetBSD.org> | 1998-02-03 18:38:12 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 1998-02-03 18:38:12 +0000 |
| commit | c8bafd6265d904677e886f6dbd842f26424df1de (patch) | |
| tree | b0ee07918d9cb65755216f57b49c7b29c75129d9 /lib/libc/stdlib | |
| parent | 4146d586049d3598733ef5f72f20b0fe51191048 (diff) | |
remove obsolete register declarations
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/_strtoq.c | 4 | ||||
| -rw-r--r-- | lib/libc/stdlib/_strtouq.c | 4 | ||||
| -rw-r--r-- | lib/libc/stdlib/atexit.c | 6 | ||||
| -rw-r--r-- | lib/libc/stdlib/bsearch.c | 18 | ||||
| -rw-r--r-- | lib/libc/stdlib/calloc.c | 8 | ||||
| -rw-r--r-- | lib/libc/stdlib/exit.c | 8 | ||||
| -rw-r--r-- | lib/libc/stdlib/getenv.c | 12 | ||||
| -rw-r--r-- | lib/libc/stdlib/getsubopt.c | 12 | ||||
| -rw-r--r-- | lib/libc/stdlib/heapsort.c | 8 | ||||
| -rw-r--r-- | lib/libc/stdlib/malloc.c | 32 | ||||
| -rw-r--r-- | lib/libc/stdlib/merge.c | 10 | ||||
| -rw-r--r-- | lib/libc/stdlib/qsort.c | 10 | ||||
| -rw-r--r-- | lib/libc/stdlib/radixsort.c | 18 | ||||
| -rw-r--r-- | lib/libc/stdlib/random.c | 20 | ||||
| -rw-r--r-- | lib/libc/stdlib/setenv.c | 16 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtod.c | 16 |
16 files changed, 101 insertions, 101 deletions
diff --git a/lib/libc/stdlib/_strtoq.c b/lib/libc/stdlib/_strtoq.c index f6ddb69e0e7..8b1639b8cca 100644 --- a/lib/libc/stdlib/_strtoq.c +++ b/lib/libc/stdlib/_strtoq.c @@ -1,4 +1,4 @@ -/* $NetBSD: _strtoq.c,v 1.3 1997/11/04 23:53:05 thorpej Exp $ */ +/* $NetBSD: _strtoq.c,v 1.4 1998/02/03 18:44:11 perry Exp $ */ /* * Copyright (c) 1996 Christos Zoulas. All rights reserved. @@ -41,7 +41,7 @@ quad_t strtoq(nptr, endptr, base) const char *nptr; char **endptr; - register int base; + int base; { return _strtoq(nptr, endptr, base); diff --git a/lib/libc/stdlib/_strtouq.c b/lib/libc/stdlib/_strtouq.c index 75bdbd23915..0fbb6ea483c 100644 --- a/lib/libc/stdlib/_strtouq.c +++ b/lib/libc/stdlib/_strtouq.c @@ -1,4 +1,4 @@ -/* $NetBSD: _strtouq.c,v 1.3 1997/11/04 23:53:08 thorpej Exp $ */ +/* $NetBSD: _strtouq.c,v 1.4 1998/02/03 18:44:12 perry Exp $ */ /* * Copyright (c) 1997 Christos Zoulas. All rights reserved. @@ -41,7 +41,7 @@ u_quad_t strtouq(nptr, endptr, base) const char *nptr; char **endptr; - register int base; + int base; { return _strtouq(nptr, endptr, base); diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c index 7f033ab64d8..5384a2ef052 100644 --- a/lib/libc/stdlib/atexit.c +++ b/lib/libc/stdlib/atexit.c @@ -1,4 +1,4 @@ -/* $NetBSD: atexit.c,v 1.8 1998/01/30 23:37:45 perry Exp $ */ +/* $NetBSD: atexit.c,v 1.9 1998/02/03 18:44:13 perry Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)atexit.c 8.2 (Berkeley) 7/3/94"; #else -__RCSID("$NetBSD: atexit.c,v 1.8 1998/01/30 23:37:45 perry Exp $"); +__RCSID("$NetBSD: atexit.c,v 1.9 1998/02/03 18:44:13 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -58,7 +58,7 @@ atexit(fn) void (*fn) __P((void)); { static struct atexit __atexit0; /* one guaranteed table */ - register struct atexit *p; + struct atexit *p; if ((p = __atexit) == NULL) __atexit = p = &__atexit0; diff --git a/lib/libc/stdlib/bsearch.c b/lib/libc/stdlib/bsearch.c index ffad52dbee5..f1932342aad 100644 --- a/lib/libc/stdlib/bsearch.c +++ b/lib/libc/stdlib/bsearch.c @@ -1,4 +1,4 @@ -/* $NetBSD: bsearch.c,v 1.7 1998/01/30 23:37:50 perry Exp $ */ +/* $NetBSD: bsearch.c,v 1.8 1998/02/03 18:44:13 perry Exp $ */ /* * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)bsearch.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: bsearch.c,v 1.7 1998/01/30 23:37:50 perry Exp $"); +__RCSID("$NetBSD: bsearch.c,v 1.8 1998/02/03 18:44:13 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -62,16 +62,16 @@ __RCSID("$NetBSD: bsearch.c,v 1.7 1998/01/30 23:37:50 perry Exp $"); */ void * bsearch(key, base0, nmemb, size, compar) - register const void *key; + const void *key; const void *base0; size_t nmemb; - register size_t size; - register int (*compar) __P((const void *, const void *)); + size_t size; + int (*compar) __P((const void *, const void *)); { - register const char *base = base0; - register size_t lim; - register int cmp; - register const void *p; + const char *base = base0; + size_t lim; + int cmp; + const void *p; for (lim = nmemb; lim != 0; lim >>= 1) { p = base + (lim >> 1) * size; diff --git a/lib/libc/stdlib/calloc.c b/lib/libc/stdlib/calloc.c index e5a02124c86..85a823a2772 100644 --- a/lib/libc/stdlib/calloc.c +++ b/lib/libc/stdlib/calloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: calloc.c,v 1.8 1998/01/30 23:37:51 perry Exp $ */ +/* $NetBSD: calloc.c,v 1.9 1998/02/03 18:44:14 perry Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)calloc.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: calloc.c,v 1.8 1998/01/30 23:37:51 perry Exp $"); +__RCSID("$NetBSD: calloc.c,v 1.9 1998/02/03 18:44:14 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -48,9 +48,9 @@ __RCSID("$NetBSD: calloc.c,v 1.8 1998/01/30 23:37:51 perry Exp $"); void * calloc(num, size) size_t num; - register size_t size; + size_t size; { - register void *p; + void *p; size *= num; if ((p = malloc(size)) != NULL) diff --git a/lib/libc/stdlib/exit.c b/lib/libc/stdlib/exit.c index 676166da945..2ca0104e453 100644 --- a/lib/libc/stdlib/exit.c +++ b/lib/libc/stdlib/exit.c @@ -1,4 +1,4 @@ -/* $NetBSD: exit.c,v 1.6 1998/01/30 23:37:53 perry Exp $ */ +/* $NetBSD: exit.c,v 1.7 1998/02/03 18:44:14 perry Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)exit.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: exit.c,v 1.6 1998/01/30 23:37:53 perry Exp $"); +__RCSID("$NetBSD: exit.c,v 1.7 1998/02/03 18:44:14 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -55,8 +55,8 @@ void exit(status) int status; { - register struct atexit *p; - register int n; + struct atexit *p; + int n; for (p = __atexit; p; p = p->next) for (n = p->ind; --n >= 0;) diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index 686535f9d74..70e38a830a7 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -1,4 +1,4 @@ -/* $NetBSD: getenv.c,v 1.9 1998/01/30 23:37:55 perry Exp $ */ +/* $NetBSD: getenv.c,v 1.10 1998/02/03 18:44:15 perry Exp $ */ /* * Copyright (c) 1987, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)getenv.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: getenv.c,v 1.9 1998/01/30 23:37:55 perry Exp $"); +__RCSID("$NetBSD: getenv.c,v 1.10 1998/02/03 18:44:15 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -70,13 +70,13 @@ getenv(name) */ char * __findenv(name, offset) - register const char *name; + const char *name; int *offset; { extern char **environ; - register int len; - register const char *np; - register char **p, *c; + int len; + const char *np; + char **p, *c; if (name == NULL || environ == NULL) return (NULL); diff --git a/lib/libc/stdlib/getsubopt.c b/lib/libc/stdlib/getsubopt.c index 47b2185e86d..22306fed20e 100644 --- a/lib/libc/stdlib/getsubopt.c +++ b/lib/libc/stdlib/getsubopt.c @@ -1,4 +1,4 @@ -/* $NetBSD: getsubopt.c,v 1.3 1998/01/31 20:43:48 thorpej Exp $ */ +/* $NetBSD: getsubopt.c,v 1.4 1998/02/03 18:44:15 perry Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: getsubopt.c,v 1.3 1998/01/31 20:43:48 thorpej Exp $"); +__RCSID("$NetBSD: getsubopt.c,v 1.4 1998/02/03 18:44:15 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -56,11 +56,11 @@ char *suboptarg; int getsubopt(optionp, tokens, valuep) - register char **optionp, **valuep; - register char * const *tokens; + char **optionp, **valuep; + char * const *tokens; { - register int cnt; - register char *p; + int cnt; + char *p; suboptarg = *valuep = NULL; diff --git a/lib/libc/stdlib/heapsort.c b/lib/libc/stdlib/heapsort.c index 9a755f5db4f..b6dd9d09800 100644 --- a/lib/libc/stdlib/heapsort.c +++ b/lib/libc/stdlib/heapsort.c @@ -1,4 +1,4 @@ -/* $NetBSD: heapsort.c,v 1.8 1997/07/21 14:08:51 jtc Exp $ */ +/* $NetBSD: heapsort.c,v 1.9 1998/02/03 18:44:16 perry Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "from: @(#)heapsort.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: heapsort.c,v 1.8 1997/07/21 14:08:51 jtc Exp $"); +__RCSID("$NetBSD: heapsort.c,v 1.9 1998/02/03 18:44:16 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -155,8 +155,8 @@ heapsort(vbase, nmemb, size, compar) size_t nmemb, size; int (*compar) __P((const void *, const void *)); { - register int cnt, i, j, l; - register char tmp, *tmp1, *tmp2; + int cnt, i, j, l; + char tmp, *tmp1, *tmp2; char *base, *k, *p, *t; if (nmemb <= 1) diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 57264275e11..6f31e46b67e 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: malloc.c,v 1.11 1998/01/30 23:38:00 perry Exp $ */ +/* $NetBSD: malloc.c,v 1.12 1998/02/03 18:44:17 perry Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)malloc.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: malloc.c,v 1.11 1998/01/30 23:38:00 perry Exp $"); +__RCSID("$NetBSD: malloc.c,v 1.12 1998/02/03 18:44:17 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -147,10 +147,10 @@ void * malloc(nbytes) size_t nbytes; { - register union overhead *op; - register int bucket; - register long n; - register unsigned amt; + union overhead *op; + int bucket; + long n; + unsigned amt; /* * First time malloc is called, setup page size and @@ -233,8 +233,8 @@ static void morecore(bucket) int bucket; { - register union overhead *op; - register long sz; /* size of desired block */ + union overhead *op; + long sz; /* size of desired block */ long amt; /* amount to allocate */ int nblks; /* how many blocks we get */ @@ -275,8 +275,8 @@ void free(cp) void *cp; { - register long size; - register union overhead *op; + long size; + union overhead *op; if (cp == NULL) return; @@ -318,8 +318,8 @@ realloc(cp, nbytes) void *cp; size_t nbytes; { - register u_long onb; - register long i; + u_long onb; + long i; union overhead *op; char *res; int was_alloced = 0; @@ -393,8 +393,8 @@ findbucket(freep, srchlen) union overhead *freep; int srchlen; { - register union overhead *p; - register int i, j; + union overhead *p; + int i, j; for (i = 0; i < NBUCKETS; i++) { j = 0; @@ -419,8 +419,8 @@ void mstats(s) char *s; { - register int i, j; - register union overhead *p; + int i, j; + union overhead *p; int totfree = 0, totused = 0; diff --git a/lib/libc/stdlib/merge.c b/lib/libc/stdlib/merge.c index b1b28532922..2844f9f3c6d 100644 --- a/lib/libc/stdlib/merge.c +++ b/lib/libc/stdlib/merge.c @@ -1,4 +1,4 @@ -/* $NetBSD: merge.c,v 1.5 1997/07/21 14:08:56 jtc Exp $ */ +/* $NetBSD: merge.c,v 1.6 1998/02/03 18:44:17 perry Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "from: @(#)merge.c 8.2 (Berkeley) 2/14/94"; #else -__RCSID("$NetBSD: merge.c,v 1.5 1997/07/21 14:08:56 jtc Exp $"); +__RCSID("$NetBSD: merge.c,v 1.6 1998/02/03 18:44:17 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -112,12 +112,12 @@ int mergesort(base, nmemb, size, cmp) void *base; size_t nmemb; - register size_t size; + size_t size; int (*cmp) __P((const void *, const void *)); { - register int i, sense; + int i, sense; int big, iflag; - register u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; + u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; u_char *list2, *list1, *p2, *p, *last, **p1; if (size < PSIZE / 2) { /* Pointers must fit into 2 * size. */ diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c index d437de789bd..0bbe8bc2114 100644 --- a/lib/libc/stdlib/qsort.c +++ b/lib/libc/stdlib/qsort.c @@ -1,4 +1,4 @@ -/* $NetBSD: qsort.c,v 1.8 1997/07/13 20:16:51 christos Exp $ */ +/* $NetBSD: qsort.c,v 1.9 1998/02/03 18:44:18 perry Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: qsort.c,v 1.8 1997/07/13 20:16:51 christos Exp $"); +__RCSID("$NetBSD: qsort.c,v 1.9 1998/02/03 18:44:18 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -56,10 +56,10 @@ static __inline void swapfunc __P((char *, char *, int, int)); */ #define swapcode(TYPE, parmi, parmj, n) { \ long i = (n) / sizeof (TYPE); \ - register TYPE *pi = (TYPE *) (parmi); \ - register TYPE *pj = (TYPE *) (parmj); \ + TYPE *pi = (TYPE *) (parmi); \ + TYPE *pj = (TYPE *) (parmj); \ do { \ - register TYPE t = *pi; \ + TYPE t = *pi; \ *pi++ = *pj; \ *pj++ = t; \ } while (--i > 0); \ diff --git a/lib/libc/stdlib/radixsort.c b/lib/libc/stdlib/radixsort.c index 2a2ab597ee9..47eba02fe9d 100644 --- a/lib/libc/stdlib/radixsort.c +++ b/lib/libc/stdlib/radixsort.c @@ -1,4 +1,4 @@ -/* $NetBSD: radixsort.c,v 1.10 1998/01/30 23:38:02 perry Exp $ */ +/* $NetBSD: radixsort.c,v 1.11 1998/02/03 18:44:19 perry Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)radixsort.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: radixsort.c,v 1.10 1998/01/30 23:38:02 perry Exp $"); +__RCSID("$NetBSD: radixsort.c,v 1.11 1998/02/03 18:44:19 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -152,8 +152,8 @@ r_sort_a(a, n, i, tr, endch) u_int endch; { static int count[256], nc, bmin; - register int c; - register const u_char **ak, *r; + int c; + const u_char **ak, *r; stack s[SIZE], *sp, *sp0, *sp1, temp; int *cp, bigc; const u_char **an, *t, **aj, **top[256]; @@ -243,8 +243,8 @@ r_sort_b(a, ta, n, i, tr, endch) u_int endch; { static int count[256], nc, bmin; - register int c; - register const u_char **ak, **ai; + int c; + const u_char **ak, **ai; stack s[512], *sp, *sp0, *sp1, temp; const u_char **top[256]; int *cp, bigc; @@ -309,12 +309,12 @@ r_sort_b(a, ta, n, i, tr, endch) static __inline void simplesort(a, n, b, tr, endch) /* insertion sort */ - register const u_char **a; + const u_char **a; int n, b; - register const u_char *tr; + const u_char *tr; u_int endch; { - register u_char ch; + u_char ch; const u_char **ak, **ai, *s, *t; for (ak = a+1; --n >= 1; ak++) diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c index 8eac0189a1c..39f73e735e7 100644 --- a/lib/libc/stdlib/random.c +++ b/lib/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* $NetBSD: random.c,v 1.7 1998/01/30 23:38:04 perry Exp $ */ +/* $NetBSD: random.c,v 1.8 1998/02/03 18:44:19 perry Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)random.c 8.2 (Berkeley) 5/19/95"; #else -__RCSID("$NetBSD: random.c,v 1.7 1998/01/30 23:38:04 perry Exp $"); +__RCSID("$NetBSD: random.c,v 1.8 1998/02/03 18:44:19 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -226,7 +226,7 @@ void srandom(x) unsigned long x; { - register long i; + long i; if (rand_type == TYPE_0) state[0] = x; @@ -270,8 +270,8 @@ initstate(seed, arg_state, n) char *arg_state; /* pointer to state array */ long n; /* # bytes of state info */ { - register char *ostate = (char *)(&state[-1]); - register long *long_arg_state = (long *) arg_state; + char *ostate = (char *)(&state[-1]); + long *long_arg_state = (long *) arg_state; if (rand_type == TYPE_0) state[-1] = rand_type; @@ -336,9 +336,9 @@ char * setstate(arg_state) char *arg_state; /* pointer to state array */ { - register long *new_state = (long *) arg_state; - register long type = new_state[0] % MAX_TYPES; - register long rear = new_state[0] / MAX_TYPES; + long *new_state = (long *) arg_state; + long type = new_state[0] % MAX_TYPES; + long rear = new_state[0] / MAX_TYPES; char *ostate = (char *)(&state[-1]); if (rand_type == TYPE_0) @@ -388,8 +388,8 @@ setstate(arg_state) long random() { - register long i; - register long *f, *r; + long i; + long *f, *r; if (rand_type == TYPE_0) { i = state[0]; diff --git a/lib/libc/stdlib/setenv.c b/lib/libc/stdlib/setenv.c index 9698dd25f35..b5d6e831100 100644 --- a/lib/libc/stdlib/setenv.c +++ b/lib/libc/stdlib/setenv.c @@ -1,4 +1,4 @@ -/* $NetBSD: setenv.c,v 1.11 1998/01/30 23:38:05 perry Exp $ */ +/* $NetBSD: setenv.c,v 1.12 1998/02/03 18:44:20 perry Exp $ */ /* * Copyright (c) 1987, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)setenv.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: setenv.c,v 1.11 1998/01/30 23:38:05 perry Exp $"); +__RCSID("$NetBSD: setenv.c,v 1.12 1998/02/03 18:44:20 perry Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -59,13 +59,13 @@ __weak_alias(unsetenv,_unsetenv); */ int setenv(name, value, rewrite) - register const char *name; - register const char *value; + const char *name; + const char *value; int rewrite; { extern char **environ; static int alloced; /* if allocated space before */ - register char *c; + char *c; int l_value, offset; if (*value == '=') /* no `=' in value */ @@ -79,8 +79,8 @@ setenv(name, value, rewrite) return (0); } } else { /* create new slot */ - register int cnt; - register char **p; + int cnt; + char **p; for (p = environ, cnt = 0; *p; ++p, ++cnt); if (alloced) { /* just increase size */ @@ -118,7 +118,7 @@ unsetenv(name) const char *name; { extern char **environ; - register char **p; + char **p; int offset; while (__findenv(name, &offset)) /* if set multiple times */ diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 3eb0141e51b..d3e950da32e 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1,4 +1,4 @@ -/* $NetBSD: strtod.c,v 1.25 1997/07/13 20:16:58 christos Exp $ */ +/* $NetBSD: strtod.c,v 1.26 1998/02/03 18:44:21 perry Exp $ */ /**************************************************************** * @@ -93,7 +93,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strtod.c,v 1.25 1997/07/13 20:16:58 christos Exp $"); +__RCSID("$NetBSD: strtod.c,v 1.26 1998/02/03 18:44:21 perry Exp $"); #endif /* LIBC_SCCS and not lint */ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ @@ -510,12 +510,12 @@ s2b static int hi0bits #ifdef KR_headers - (x) register ULong x; + (x) ULong x; #else - (register ULong x) + (ULong x) #endif { - register int k = 0; + int k = 0; if (!(x & 0xffff0000)) { k = 16; @@ -549,8 +549,8 @@ lo0bits (ULong *y) #endif { - register int k; - register ULong x = *y; + int k; + ULong x = *y; if (x & 7) { if (x & 1) @@ -918,7 +918,7 @@ ulp (double x) #endif { - register Long L; + Long L; double a; L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1; |
