diff options
-rw-r--r-- | Utility/libmounts.c | 5 | ||||
-rw-r--r-- | Utility/libmounts.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/Utility/libmounts.c b/Utility/libmounts.c index 00755c577..d29c6ee6a 100644 --- a/Utility/libmounts.c +++ b/Utility/libmounts.c @@ -34,9 +34,6 @@ #include "libmounts.h" -#include <errno.h> -#include <stdio.h> - #ifdef GETMNTENT /* direct passthrough the getmntent */ FILE *mounts_start (void) { @@ -53,7 +50,7 @@ struct mntent *mounts_next (FILE *fp) { #ifdef GETMNTINFOCALL /* getmntent emulation using getmntinfo */ FILE *mounts_start (void) { - return ((FILE *)0x1) /* dummy non-NULL FILE pointer, not used */ + return ((FILE *)0x1); /* dummy non-NULL FILE pointer, not used */ } int mounts_end (FILE *fp) { return 1; diff --git a/Utility/libmounts.h b/Utility/libmounts.h index 0bd52e323..12f5564b5 100644 --- a/Utility/libmounts.h +++ b/Utility/libmounts.h @@ -27,12 +27,9 @@ #endif #endif -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> +#include <stdio.h> #ifndef GETMNTENT -#warning "boo" struct mntent { char *mnt_fsname; char *mnt_dir; |