diff options
author | Steve Dickson <steved@redhat.com> | 2009-08-27 11:31:08 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-08-27 11:31:08 -0400 |
commit | 1d2951b518dd5df4fc0a637880d204f0f4e949c5 (patch) | |
tree | 83026e9c835c86056617ffb00191c840b9fc025d | |
parent | 9999c036952eced407162c394ea69145752ea5c4 (diff) | |
download | nfs-utils-1d2951b518dd5df4fc0a637880d204f0f4e949c5.tar.gz nfs-utils-1d2951b518dd5df4fc0a637880d204f0f4e949c5.tar.xz nfs-utils-1d2951b518dd5df4fc0a637880d204f0f4e949c5.zip |
Cleaned up some warnings in the mount config file code.
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | support/include/conffile.h | 1 | ||||
-rw-r--r-- | utils/mount/mount_config.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/support/include/conffile.h b/support/include/conffile.h index 132a149..672020a 100644 --- a/support/include/conffile.h +++ b/support/include/conffile.h @@ -34,6 +34,7 @@ #define _CONFFILE_H_ #include <sys/queue.h> +#include <ctype.h> struct conf_list_node { TAILQ_ENTRY(conf_list_node) link; diff --git a/utils/mount/mount_config.h b/utils/mount/mount_config.h index 9a885a9..3023306 100644 --- a/utils/mount/mount_config.h +++ b/utils/mount/mount_config.h @@ -20,6 +20,8 @@ inline void mount_config_init(char *); #ifdef MOUNT_CONFIG #include "conffile.h" +#include "xlog.h" + extern char *conf_get_mntopts(char *, char *, char *); inline void mount_config_init(char *program) |