summaryrefslogtreecommitdiffstats
path: root/utils/exportfs/exportfs.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-08-24 07:18:04 -0400
committerSteve Dickson <steved@redhat.com>2010-08-24 07:22:52 -0400
commit6d7babe6afae068e8a1054f785785d374788f5ee (patch)
tree60649d2abbf05b6b6b8c753e2dee76f33100720c /utils/exportfs/exportfs.c
parente22f5a9c8e53a2373e8a939771e964ad315cdc5f (diff)
downloadnfs-utils-6d7babe6afae068e8a1054f785785d374788f5ee.tar.gz
nfs-utils-6d7babe6afae068e8a1054f785785d374788f5ee.tar.xz
nfs-utils-6d7babe6afae068e8a1054f785785d374788f5ee.zip
exportfs: exportfs.c no longer needs #include "xmalloc.h"
Clean up: No calls to xmalloc() or xstrdup() here. No need for the double #include of xmalloc.h. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
-rw-r--r--utils/exportfs/exportfs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index edc1625..93bad32 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -12,6 +12,8 @@
#include <config.h>
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/vfs.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -20,13 +22,13 @@
#include <string.h>
#include <stdarg.h>
#include <getopt.h>
+#include <fcntl.h>
#include <netdb.h>
#include <errno.h>
-#include "xmalloc.h"
+
#include "misc.h"
#include "nfslib.h"
#include "exportfs.h"
-#include "xmalloc.h"
#include "xlog.h"
static void export_all(int verbose);