summaryrefslogtreecommitdiff
path: root/usr.sbin/edquota/edquota.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/edquota/edquota.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/edquota/edquota.c')
-rw-r--r--usr.sbin/edquota/edquota.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c
index 64de9f771d3..98bbe23c108 100644
--- a/usr.sbin/edquota/edquota.c
+++ b/usr.sbin/edquota/edquota.c
@@ -42,7 +42,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)edquota.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$Id: edquota.c,v 1.28 2001/09/04 23:35:59 millert Exp $";
+static char *rcsid = "$Id: edquota.c,v 1.29 2002/02/16 21:28:01 millert Exp $";
#endif /* not lint */
/*
@@ -77,24 +77,24 @@ struct quotause {
struct dqblk dqblk;
char fsname[MAXPATHLEN];
char qfname[1]; /* actually longer */
-} *getprivs __P((u_int, int));
+} *getprivs(u_int, int);
#define FOUND 0x01
-void usage __P((void));
-int getentry __P((char *, int, u_int *));
+void usage(void);
+int getentry(char *, int, u_int *);
struct quotause *
- getprivs __P((u_int, int));
-void putprivs __P((long, int, struct quotause *));
-int editit __P((char *));
-int writeprivs __P((struct quotause *, int, char *, int));
-int readprivs __P((struct quotause *, int));
-int writetimes __P((struct quotause *, int, int));
-int readtimes __P((struct quotause *, int));
-char * cvtstoa __P((time_t));
-int cvtatos __P((time_t, char *, time_t *));
-void freeprivs __P((struct quotause *));
-int alldigits __P((char *s));
-int hasquota __P((struct fstab *, int, char **));
+ getprivs(u_int, int);
+void putprivs(long, int, struct quotause *);
+int editit(char *);
+int writeprivs(struct quotause *, int, char *, int);
+int readprivs(struct quotause *, int);
+int writetimes(struct quotause *, int, int);
+int readtimes(struct quotause *, int);
+char * cvtstoa(time_t);
+int cvtatos(time_t, char *, time_t *);
+void freeprivs(struct quotause *);
+int alldigits(char *s);
+int hasquota(struct fstab *, int, char **);
void
usage()