diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /sbin/quotacheck/quotacheck.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (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 'sbin/quotacheck/quotacheck.c')
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index 5e17e285216..b49a0e0fc06 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quotacheck.c,v 1.11 2001/11/05 07:39:17 mpech Exp $ */ +/* $OpenBSD: quotacheck.c,v 1.12 2002/02/16 21:27:37 millert Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)quotacheck.c 8.3 (Berkeley) 1/29/94"; #else -static char rcsid[] = "$OpenBSD: quotacheck.c,v 1.11 2001/11/05 07:39:17 mpech Exp $"; +static char rcsid[] = "$OpenBSD: quotacheck.c,v 1.12 2002/02/16 21:27:37 millert Exp $"; #endif #endif /* not lint */ @@ -112,23 +112,23 @@ int fi; /* open disk file descriptor */ u_long highid[MAXQUOTAS]; /* highest addid()'ed identifier per type */ struct fileusage * - addid __P((u_long, int, char *)); -char *blockcheck __P((char *)); -void bread __P((daddr_t, char *, long)); + addid(u_long, int, char *); +char *blockcheck(char *); +void bread(daddr_t, char *, long); int chkquota __P((const char *, const char *, const char *, void *, pid_t *)); -void freeinodebuf __P((void)); +void freeinodebuf(void); struct dinode * - getnextinode __P((ino_t)); -int getquotagid __P((void)); -int hasquota __P((struct fstab *, int, char **)); + getnextinode(ino_t); +int getquotagid(void); +int hasquota(struct fstab *, int, char **); struct fileusage * - lookup __P((u_long, int)); -void *needchk __P((struct fstab *)); -int oneof __P((char *, char*[], int)); -void resetinodebuf __P((void)); -int update __P((const char *, const char *, int)); -void usage __P((void)); + lookup(u_long, int); +void *needchk(struct fstab *); +int oneof(char *, char*[], int); +void resetinodebuf(void); +int update(const char *, const char *, int); +void usage(void); int main(argc, argv) |