diff options
author | 2012-07-19 20:44:58 -0400 | |
---|---|---|
committer | 2012-07-19 20:44:58 -0400 | |
commit | f768cddf3a7048334f76fff1a2c895b33fea18af (patch) | |
tree | 77563e51c0f9dd21420a29a6833ac994c8967509 /Utility/libmounts.c | |
parent | 107a7b9388077a2b7fe9ce107da3a4a5fa396e2e (diff) |
fix build on OSX
Diffstat (limited to 'Utility/libmounts.c')
-rw-r--r-- | Utility/libmounts.c | 5 |
1 files changed, 1 insertions, 4 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; |