summaryrefslogtreecommitdiff
path: root/usr.sbin/quotaon
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2021-11-15 15:14:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2021-11-15 15:14:25 +0000
commit5a93c8ec06b1efb5de2aaddafe4d83dc9e9bf711 (patch)
tree5a5bf766be455d0d4878b622d591de0cd87910ad /usr.sbin/quotaon
parent5f5cf94be0abb2893e18be98e3328ff7a952ba28 (diff)
No need to declare optind, optarg or opterr; unistd.h does this for us.
From Jan Stary. OK deraadt@
Diffstat (limited to 'usr.sbin/quotaon')
-rw-r--r--usr.sbin/quotaon/quotaon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/quotaon/quotaon.c b/usr.sbin/quotaon/quotaon.c
index f70f6f99c53..4d904d2b4d4 100644
--- a/usr.sbin/quotaon/quotaon.c
+++ b/usr.sbin/quotaon/quotaon.c
@@ -66,7 +66,6 @@ main(int argc, char *argv[])
char *qfnp, *whoami;
long argnum, done = 0;
int i, offmode = 0, errs = 0;
- extern int optind;
int ch;
whoami = strrchr(*argv, '/') + 1;