From b790e6b937c0ea507fee6487ef1384be4f0900d7 Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 11 Jul 2002 21:26:41 +0000 Subject: WARNS=4, de-__P() --- usr.sbin/quotaon/quotaon.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'usr.sbin/quotaon/quotaon.c') 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 #include -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; -- cgit v1.1