summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /usr.sbin/edquota
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
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')
-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()