From 3190ec8ac6732c5be55c747c91360ef6f29dbdb1 Mon Sep 17 00:00:00 2001 From: mikel Date: Sat, 8 Mar 1997 21:39:06 +0000 Subject: [PATCH] prototype internal functions so this will build --- usr.sbin/edquota/edquota.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 6acdb09fc1f7..3b688b51a3b0 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.3 (Berkeley) 4/27/95"; */ -static char *rcsid = "$NetBSD: edquota.c,v 1.12 1997/03/08 08:01:27 mikel Exp $"; +static char *rcsid = "$NetBSD: edquota.c,v 1.13 1997/03/08 21:39:06 mikel Exp $"; #endif /* not lint */ /* @@ -79,6 +79,22 @@ struct quotause { } *getprivs(); #define FOUND 0x01 +void usage __P((void)); +int getentry __P((char *, int)); +struct quotause * + getprivs __P((long, 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 *)); +int hasquota __P((struct fstab *, int, char **)); + int main(argc, argv) register char **argv;