summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-04 10:29:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-04 10:29:26 +0200
commit247bfbdb46f0f89e784574791d2bbc8748dd3717 (patch)
tree5b07e666f89119681ec5a86dd829108042c8c8a5 /soltools
parent527440c9d9086ae01c277b0dca96a87eb0868ae6 (diff)
Move prototype to include
Change-Id: I90c093c704609429f9997f3ffed6a9a79c8956a6
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_unix.c2
-rw-r--r--soltools/cpp/cpp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index d29970a450b3..e5f9eab781dd 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -49,8 +49,6 @@ int Cflag = 0; /* do not remove any comments */
int Dflag = 0; /* add parameter check to delete op */
int Cplusplus = 0;
-extern void setup_kwtab(void);
-
void
setup(int argc, char **argv)
{
diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h
index 15c2e60ada51..5e57118fbd89 100644
--- a/soltools/cpp/cpp.h
+++ b/soltools/cpp/cpp.h
@@ -57,6 +57,8 @@ enum kwtype
KMACHINE, KLINENO, KFILE, KDATE, KTIME, KSTDC, KEVAL
};
+extern void setup_kwtab(void);
+
#define ISDEFINED 0x01 /* has #defined value */
#define ISKW 0x02 /* is PP keyword */
#define ISUNCHANGE 0x04 /* can't be #defined in PP */