diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-08-24 07:18:04 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-08-24 07:22:52 -0400 |
commit | 6d7babe6afae068e8a1054f785785d374788f5ee (patch) | |
tree | 60649d2abbf05b6b6b8c753e2dee76f33100720c /utils/exportfs/exportfs.c | |
parent | e22f5a9c8e53a2373e8a939771e964ad315cdc5f (diff) | |
download | nfs-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.c | 6 |
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); |