aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/repquota
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 21:26:41 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 21:26:41 +0000
commitd8c965959fe157a40472eb54dbcc833dd4fa7ebd (patch)
treed4519bdb720c09aa67920c4e6fbc37f37ed9bdf7 /usr.sbin/repquota
parente97f67f53276c84755c7239e71fa7110be6f216e (diff)
WARNS=4, de-__P()
Notes
Notes: svn path=/head/; revision=99822
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r--usr.sbin/repquota/Makefile2
-rw-r--r--usr.sbin/repquota/repquota.c14
2 files changed, 7 insertions, 9 deletions
diff --git a/usr.sbin/repquota/Makefile b/usr.sbin/repquota/Makefile
index 9b9a0786fedc..036fedf8527e 100644
--- a/usr.sbin/repquota/Makefile
+++ b/usr.sbin/repquota/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= repquota
-WARNS?= 2
+WARNS?= 4
MAN= repquota.8
.include <bsd.prog.mk>
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index aadb7843559d..b80b8695830a 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -97,16 +97,14 @@ u_long highid[MAXQUOTAS]; /* highest addid()'ed identifier per type */
int vflag; /* verbose */
int aflag; /* all filesystems */
-int hasquota __P((struct fstab *, int, char **));
-int oneof __P((char *, char *[], int));
-int repquota __P((struct fstab *, int, char *));
-char *timeprt __P((time_t));
-static void usage __P((void));
+int hasquota(struct fstab *, int, char **);
+int oneof(char *, char *[], int);
+int repquota(struct fstab *, int, char *);
+char *timeprt(time_t);
+static void usage(void);
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
register struct fstab *fs;
register struct passwd *pw;