aboutsummaryrefslogtreecommitdiff
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-08-09 16:25:32 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-08-09 16:25:32 +0000
commit563b79eff414f2af8d0da253a1b6cb5cc6350a92 (patch)
treefa8ce5b7dac7d1c778fa55a746003295c9b68033 /sbin/quotacheck
parentcc0f2cfaca8b1b971f388afdc2821e2d57374ff7 (diff)
downloadsrc-563b79eff414f2af8d0da253a1b6cb5cc6350a92.tar.gz
src-563b79eff414f2af8d0da253a1b6cb5cc6350a92.zip
Fixup preen.c to match its new residence.
The blockcheck() function is still pulled from fsck_ffs, it probably should live in libufs.
Notes
Notes: svn path=/head/; revision=101592
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/preen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/quotacheck/preen.c b/sbin/quotacheck/preen.c
index 371d3445fa83..a049a56e5434 100644
--- a/sbin/quotacheck/preen.c
+++ b/sbin/quotacheck/preen.c
@@ -50,8 +50,12 @@ static const char rcsid[] =
#include <errno.h>
#include <fstab.h>
#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+char *blockcheck(char *origname);
-#include "fsck.h"
struct part {
struct part *next; /* forward link of partitions on disk */