summaryrefslogtreecommitdiffstats
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-08-09 16:25:32 +0000
committerphk <phk@FreeBSD.org>2002-08-09 16:25:32 +0000
commitf7c5b9336df208851eb835f1ef181456b10399e1 (patch)
treefa8ce5b7dac7d1c778fa55a746003295c9b68033 /sbin/quotacheck
parent6b28291e08d0da1de94efbb81116f3ed126d72c7 (diff)
downloadFreeBSD-src-f7c5b9336df208851eb835f1ef181456b10399e1.zip
FreeBSD-src-f7c5b9336df208851eb835f1ef181456b10399e1.tar.gz
Fixup preen.c to match its new residence.
The blockcheck() function is still pulled from fsck_ffs, it probably should live in libufs.
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 371d344..a049a56 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 */
OpenPOWER on IntegriCloud