summaryrefslogtreecommitdiffstats
path: root/bin/df/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 19:24:09 +0000
committerphk <phk@FreeBSD.org>2002-05-12 19:24:09 +0000
commit5e1cf3ad98b7eb03ab7dc51d00cc95330440278d (patch)
tree364d25dac6b7c09ca63655debccd322ee6efec47 /bin/df/Makefile
parentceb3fe2c048f2857f3a05ef9cd6faae214cbcd96 (diff)
downloadFreeBSD-src-5e1cf3ad98b7eb03ab7dc51d00cc95330440278d.zip
FreeBSD-src-5e1cf3ad98b7eb03ab7dc51d00cc95330440278d.tar.gz
Remove the private code for reading UFS superblocks, this does not belong
in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'bin/df/Makefile')
-rw-r--r--bin/df/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile
index 77a05e84..3ee9b89 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -11,4 +11,6 @@ CFLAGS+= -I${MOUNT}
DPADD= ${LIBM}
LDADD= -lm
+WARNS?= 5
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud