diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-11-17 00:06:55 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-11-17 00:06:55 +0000 |
commit | aea807046e13a0ba51a55e0c3b13ef5ccc5e0d99 (patch) | |
tree | eb26d9bff15b68c77a04d0793e9c7c2bf68bf231 /sbin/dump/optr.c | |
parent | b15a1b598ddc032cba50d49e7b69793e4d4cfbb4 (diff) | |
download | FreeBSD-src-aea807046e13a0ba51a55e0c3b13ef5ccc5e0d99.zip FreeBSD-src-aea807046e13a0ba51a55e0c3b13ef5ccc5e0d99.tar.gz |
Zap a number of #ifdef sunos blocks, and all of the `register'
keywords.
Diffstat (limited to 'sbin/dump/optr.c')
-rw-r--r-- | sbin/dump/optr.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 74f261c..1c53cdd 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -289,9 +289,9 @@ quit(fmt, va_alist) struct fstab * allocfsent(fs) - register struct fstab *fs; + struct fstab *fs; { - register struct fstab *new; + struct fstab *new; new = (struct fstab *)malloc(sizeof (*fs)); if (new == NULL || @@ -314,8 +314,8 @@ static SLIST_HEAD(, pfstab) table; void getfstab() { - register struct fstab *fs; - register struct pfstab *pf; + struct fstab *fs; + struct pfstab *pf; if (setfsent() == 0) { msg("Can't open %s for dump table information: %s\n", @@ -346,8 +346,8 @@ struct fstab * fstabsearch(key) char *key; { - register struct pfstab *pf; - register struct fstab *fs; + struct pfstab *pf; + struct fstab *fs; char *rn; SLIST_FOREACH(pf, &table, pf_list) { @@ -377,9 +377,9 @@ void lastdump(arg) char arg; /* w ==> just what to do; W ==> most recent dumps */ { - register int i; - register struct fstab *dt; - register struct dumpdates *dtwalk; + int i; + struct fstab *dt; + struct dumpdates *dtwalk; char *lastname, *date; int dumpme; time_t tnow; |