summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quotaon/quotaon.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-11 21:26:41 +0000
committeralfred <alfred@FreeBSD.org>2002-07-11 21:26:41 +0000
commitb790e6b937c0ea507fee6487ef1384be4f0900d7 (patch)
treed4519bdb720c09aa67920c4e6fbc37f37ed9bdf7 /usr.sbin/quotaon/quotaon.c
parent1d2b625a3d41d8f930ed8a0085a7ed7857f71501 (diff)
downloadFreeBSD-src-b790e6b937c0ea507fee6487ef1384be4f0900d7.zip
FreeBSD-src-b790e6b937c0ea507fee6487ef1384be4f0900d7.tar.gz
WARNS=4, de-__P()
Diffstat (limited to 'usr.sbin/quotaon/quotaon.c')
-rw-r--r--usr.sbin/quotaon/quotaon.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/usr.sbin/quotaon/quotaon.c b/usr.sbin/quotaon/quotaon.c
index daec695..3e6ff45 100644
--- a/usr.sbin/quotaon/quotaon.c
+++ b/usr.sbin/quotaon/quotaon.c
@@ -62,24 +62,22 @@ static const char rcsid[] =
#include <string.h>
#include <unistd.h>
-char *qfname = QUOTAFILENAME;
-char *qfextension[] = INITQFNAMES;
+const char *qfname = QUOTAFILENAME;
+const char *qfextension[] = INITQFNAMES;
int aflag; /* all filesystems */
int gflag; /* operate on group quotas */
int uflag; /* operate on user quotas */
int vflag; /* verbose */
-int hasquota __P((struct fstab *, int, char **));
-int oneof __P((char *, char *[], int));
-int quotaonoff __P((struct fstab *fs, int, int, char *));
-int readonly __P((struct fstab *));
-static void usage __P((void));
+int hasquota(struct fstab *, int, char **);
+int oneof(char *, char *[], int);
+int quotaonoff(struct fstab *fs, int, int, char *);
+int readonly(struct fstab *);
+static void usage(void);
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
register struct fstab *fs;
char ch, *qfnp, *whoami;
OpenPOWER on IntegriCloud