diff options
author | steve <steve@FreeBSD.org> | 1997-04-28 03:06:52 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-04-28 03:06:52 +0000 |
commit | 2b784fa564960140b91518a4b72da43b93b986c8 (patch) | |
tree | d0e7c5a994f2f172dd3ae2625238a8d50481d505 /bin/sh/mystring.c | |
parent | 9c7a4e18480c28733768bcb49ea6042734633e92 (diff) | |
download | FreeBSD-src-2b784fa564960140b91518a4b72da43b93b986c8.zip FreeBSD-src-2b784fa564960140b91518a4b72da43b93b986c8.tar.gz |
Nuke register keyword usage and #if -> #ifdef.
Obtained from: NetBSD
Diffstat (limited to 'bin/sh/mystring.c')
-rw-r--r-- | bin/sh/mystring.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/sh/mystring.c b/bin/sh/mystring.c index 20b0343..af34635 100644 --- a/bin/sh/mystring.c +++ b/bin/sh/mystring.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: mystring.c,v 1.7 1997/02/22 13:58:38 peter Exp $ */ #ifndef lint @@ -76,9 +76,9 @@ char nullstr[1]; /* zero length string */ void scopyn(from, to, size) - register char const *from; - register char *to; - register int size; + char const *from; + char *to; + int size; { while (--size > 0) { @@ -95,8 +95,8 @@ scopyn(from, to, size) int prefix(pfx, string) - register char const *pfx; - register char const *string; + char const *pfx; + char const *string; { while (*pfx) { if (*pfx++ != *string++) @@ -129,7 +129,7 @@ number(s) int is_number(p) - register const char *p; + const char *p; { do { if (! is_digit(*p)) |