From 3ac7f112293cb0438587008b17403e9e9e19f95d Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 18 Mar 2002 02:23:43 +0000 Subject: Removed vestiges of mount_mfs. Sorted the Makefile a bit. --- sbin/newfs/Makefile | 10 +++------- sbin/newfs/newfs.c | 8 -------- 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'sbin/newfs') diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile index 4e9462116b71..38c547b5d7ed 100644 --- a/sbin/newfs/Makefile +++ b/sbin/newfs/Makefile @@ -2,13 +2,9 @@ # $FreeBSD$ PROG= newfs -SRCS= getmntopts.c newfs.c mkfs.c -MAN= newfs.8 - -MOUNT= ${.CURDIR}/../mount -CFLAGS+=-DFSIRAND -I${MOUNT} +SRCS= newfs.c mkfs.c +CFLAGS+=-DFSIRAND WARNS?= 2 - -.PATH: ${MOUNT} +MAN= newfs.8 .include diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index ff7555537124..a1a0c772df5f 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -75,14 +75,6 @@ static const char rcsid[] = #include #endif -#include "mntopts.h" - -struct mntopt mopts[] = { - MOPT_STDOPTS, - MOPT_ASYNC, - { NULL }, -}; - #if __STDC__ void fatal(const char *fmt, ...) __printflike(1, 2); #else -- cgit v1.2.3