summaryrefslogtreecommitdiffstats
path: root/sbin/swapon
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/swapon
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/swapon')
-rw-r--r--sbin/swapon/swapon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index ea36734..323049b 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -59,8 +59,8 @@ int add __P((char *name, int ignoreebusy));
int
main(int argc, char **argv)
{
- register struct fstab *fsp;
- register int stat;
+ struct fstab *fsp;
+ int stat;
int ch, doall;
doall = 0;
OpenPOWER on IntegriCloud