summaryrefslogtreecommitdiffstats
path: root/usr.sbin/repquota
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/repquota
parent1d2b625a3d41d8f930ed8a0085a7ed7857f71501 (diff)
downloadFreeBSD-src-b790e6b937c0ea507fee6487ef1384be4f0900d7.zip
FreeBSD-src-b790e6b937c0ea507fee6487ef1384be4f0900d7.tar.gz
WARNS=4, de-__P()
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 9b9a078..036fedf 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 aadb784..b80b869 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;
OpenPOWER on IntegriCloud