]> Zhao Yanbai Git Server - minix.git/commitdiff
mount(1): do not include system headers
authorDavid van Moolenbroek <david@minix3.org>
Tue, 16 Oct 2012 20:30:02 +0000 (22:30 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 17 Oct 2012 21:01:05 +0000 (23:01 +0200)
commands/mount/Makefile
commands/mount/mount.c

index 0ce9926efe3ead508268b093a725310ce5642021..17d24bd83804e1d826ecf42c92a5b6b7b831dba8 100644 (file)
@@ -1,5 +1,4 @@
 PROG=  mount
-CPPFLAGS+= -I${NETBSDSRCDIR}/servers
 BINDIR=        /bin
 BINMODE= 4755
 MAN=
index 1671e4f31536d22348a9528e9f39809d6c04dbed..a9adecf192803666a2a3cf44621f12f80867515c 100644 (file)
@@ -2,19 +2,12 @@
 
 #include <errno.h>
 #include <sys/types.h>
-#include <limits.h>
 #include <stdlib.h>
-#include <dirent.h>
 #include <string.h>
 #include <sys/mount.h>
 #include <unistd.h>
-#include <fcntl.h>
-#include <minix/config.h>
-#include <minix/const.h>
 #include <minix/minlib.h>
-#include <sys/svrctl.h>
 #include <stdio.h>
-#include "mfs/const.h"
 #include <fstab.h>
 
 #define MINIX_FS_TYPE "mfs"