summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-23 17:55:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-23 17:55:31 +0100
commit6291574d9477067e14ae493d7d9e59b19c8616ab (patch)
tree8a54eeff782d4f3a3000f1e42253b8587f79c1ad /soltools
parent361c616a1b5d155a3b05178721b4d5e1e5929cf2 (diff)
Remove unused #include <ctype.h>
Change-Id: I8bf3e30687e20151a9e1936e69362abfe9b3a99d
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/cppsetup.c2
-rw-r--r--soltools/mkdepend/def.h1
-rw-r--r--soltools/mkdepend/parse.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/soltools/mkdepend/cppsetup.c b/soltools/mkdepend/cppsetup.c
index 750142af9ddf..acbdcc6377eb 100644
--- a/soltools/mkdepend/cppsetup.c
+++ b/soltools/mkdepend/cppsetup.c
@@ -27,6 +27,8 @@ in this Software without prior written authorization from the X Consortium.
*/
+#include <ctype.h>
+
#include "def.h"
#ifdef CPP
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index 5e96a2b75712..fd3f34691128 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -44,7 +44,6 @@ in this Software without prior written authorization from the X Consortium.
#include <unistd.h>
#endif
-#include <ctype.h>
#ifndef X_NOT_POSIX
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c
index 41ae113e9ff0..01d34dcc1c14 100644
--- a/soltools/mkdepend/parse.c
+++ b/soltools/mkdepend/parse.c
@@ -27,6 +27,8 @@ in this Software without prior written authorization from the X Consortium.
*/
+#include <ctype.h>
+
#include "def.h"
char *hash_lookup( char *symbol, struct symhash *symbols );
void hash_undefine( char *symbol, struct symhash *symbols );