summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-20 17:55:10 +0000
committerobrien <obrien@FreeBSD.org>2002-03-20 17:55:10 +0000
commit73c6870b18b8289171acd66d63bdd7ce8fb819b6 (patch)
treec6081460d17e593ae6ed744bc0f22972f9c9e461 /sbin/growfs
parentb132efc524eb66518b26bf553bd07698212a0838 (diff)
downloadFreeBSD-src-73c6870b18b8289171acd66d63bdd7ce8fb819b6.zip
FreeBSD-src-73c6870b18b8289171acd66d63bdd7ce8fb819b6.tar.gz
Remove 'register' keyword.
It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
Diffstat (limited to 'sbin/growfs')
-rw-r--r--sbin/growfs/growfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index 751db2a..42e07be 100644
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -361,7 +361,7 @@ initcg(int cylno, time_t utime, int fso, unsigned int Nflag)
DBG_FUNC("initcg")
daddr_t cbase, d, dlower, dupper, dmax, blkno;
int i;
- register struct csum *cs;
+ struct csum *cs;
#ifdef FSIRAND
int j;
#endif
OpenPOWER on IntegriCloud