fence-agents: master - fence_kdump: include ctype.h

rohara rohara at fedoraproject.org
Tue Jul 26 19:10:11 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=6dd3851c335f98cfa06f160019943ce243dca061
Commit:        6dd3851c335f98cfa06f160019943ce243dca061
Parent:        225d3404357bfe33a07c2200a0d80af10fcbb03d
Author:        Ryan O'Hara <rohara at redhat.com>
AuthorDate:    Tue Jul 26 14:07:52 2011 -0500
Committer:     Ryan O'Hara <rohara at redhat.com>
CommitterDate: Tue Jul 26 14:07:52 2011 -0500

fence_kdump: include ctype.h

Add ctype.h to avoid implicit declaration of isspace function.

Signed-off-by: Ryan O'Hara <rohara at redhat.com>
---
 fence/agents/kdump/fence_kdump.c      |    1 +
 fence/agents/kdump/fence_kdump_send.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fence/agents/kdump/fence_kdump.c b/fence/agents/kdump/fence_kdump.c
index 7df9f90..adfffa4 100644
--- a/fence/agents/kdump/fence_kdump.c
+++ b/fence/agents/kdump/fence_kdump.c
@@ -27,6 +27,7 @@
 #include <getopt.h>
 #include <unistd.h>
 #include <syslog.h>
+#include <ctype.h>
 #include <errno.h>
 #include <netdb.h>
 #include <sys/types.h>
diff --git a/fence/agents/kdump/fence_kdump_send.c b/fence/agents/kdump/fence_kdump_send.c
index 29018a4..7a48bd6 100644
--- a/fence/agents/kdump/fence_kdump_send.c
+++ b/fence/agents/kdump/fence_kdump_send.c
@@ -27,6 +27,7 @@
 #include <getopt.h>
 #include <unistd.h>
 #include <syslog.h>
+#include <ctype.h>
 #include <errno.h>
 #include <netdb.h>
 #include <sys/types.h>


More information about the cluster-commits mailing list