From 3af26d4abba3ad1858920eedf0710663499167f1 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Sun, 27 Dec 2009 06:28:01 +0000 Subject: Convert quotacheck to use new quotafile functions in libutil. Still to come, conversion between 64-bit and 32-bit quotafile formats. --- sbin/quotacheck/quotacheck.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'sbin/quotacheck/quotacheck.h') diff --git a/sbin/quotacheck/quotacheck.h b/sbin/quotacheck/quotacheck.h index aad9d30a76a8..dcff75b68a8c 100644 --- a/sbin/quotacheck/quotacheck.h +++ b/sbin/quotacheck/quotacheck.h @@ -32,12 +32,6 @@ * $FreeBSD$ */ -struct quotaname { - long flags; - char grpqfname[PATH_MAX]; - char usrqfname[PATH_MAX]; -}; - -extern int checkfstab(); -extern int chkquota(char *, char *, struct quotaname *); -extern struct quotaname *needchk(struct fstab *); +extern char *blockcheck(char *); +extern int checkfstab(int, int); +extern int chkquota(char *, struct quotafile *, struct quotafile *); -- cgit v1.2.3