From 7d2b9dd56e4841bd76633090afca55ed343d6722 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 7 Feb 2022 03:58:00 +0000 Subject: [PATCH] dthelp: Resolve implicit-function-declaration warnings --- cde/programs/dthelp/parser/canon1/parser/end.c | 2 ++ cde/programs/dthelp/parser/canon1/parser/parser.c | 2 ++ cde/programs/dthelp/parser/canon1/parser/start.c | 2 ++ cde/programs/dthelp/parser/pass1/parser/end.c | 3 +++ cde/programs/dthelp/parser/pass1/parser/parser.c | 2 ++ cde/programs/dthelp/parser/pass1/parser/start.c | 2 ++ cde/programs/dthelp/parser/pass2/parser/parser.c | 2 ++ cde/programs/dthelp/parser/pass2/parser/start.c | 2 ++ 8 files changed, 17 insertions(+) diff --git a/cde/programs/dthelp/parser/canon1/parser/end.c b/cde/programs/dthelp/parser/canon1/parser/end.c index 20d9e273c..2783eeb64 100644 --- a/cde/programs/dthelp/parser/canon1/parser/end.c +++ b/cde/programs/dthelp/parser/canon1/parser/end.c @@ -34,6 +34,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "userinc.h" #include "globdec.h" +extern void chksnb(void); + /* Include generated file */ #include "efile.c" diff --git a/cde/programs/dthelp/parser/canon1/parser/parser.c b/cde/programs/dthelp/parser/canon1/parser/parser.c index 130716661..94facfbe4 100644 --- a/cde/programs/dthelp/parser/canon1/parser/parser.c +++ b/cde/programs/dthelp/parser/canon1/parser/parser.c @@ -39,6 +39,8 @@ char *user_defined_entities M_PARINIT("USER-DEFINED-ENTITIES"); static void scanloop(LOGICAL prolog); +extern void m_mberr1(char *text, const char *arg); + /* Main procedure */ int main(int argc, char **argv) { diff --git a/cde/programs/dthelp/parser/canon1/parser/start.c b/cde/programs/dthelp/parser/canon1/parser/start.c index d3a3ca3e1..f470e30d1 100644 --- a/cde/programs/dthelp/parser/canon1/parser/start.c +++ b/cde/programs/dthelp/parser/canon1/parser/start.c @@ -32,6 +32,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "userinc.h" #include "globdec.h" +extern void chksnb(void); + /* Include generated file */ #include "sfile.c" diff --git a/cde/programs/dthelp/parser/pass1/parser/end.c b/cde/programs/dthelp/parser/pass1/parser/end.c index c4de1f992..665207034 100644 --- a/cde/programs/dthelp/parser/pass1/parser/end.c +++ b/cde/programs/dthelp/parser/pass1/parser/end.c @@ -33,6 +33,9 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "globdec.h" /* Include generated file */ + +extern void chksnb(void); + #include "efile.c" diff --git a/cde/programs/dthelp/parser/pass1/parser/parser.c b/cde/programs/dthelp/parser/pass1/parser/parser.c index 1a28b615f..f75eb9b5a 100644 --- a/cde/programs/dthelp/parser/pass1/parser/parser.c +++ b/cde/programs/dthelp/parser/pass1/parser/parser.c @@ -35,6 +35,8 @@ #include "if.h" #include "entext.h" +extern void m_mberr1(char *text, const char *arg); + /* Main procedure */ int main(int argc, char **argv) { diff --git a/cde/programs/dthelp/parser/pass1/parser/start.c b/cde/programs/dthelp/parser/pass1/parser/start.c index 4dace66cf..6a96dc57f 100644 --- a/cde/programs/dthelp/parser/pass1/parser/start.c +++ b/cde/programs/dthelp/parser/pass1/parser/start.c @@ -32,6 +32,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "userinc.h" #include "globdec.h" +extern void chksnb(void); + /* Include generated file */ #include "sfile.c" diff --git a/cde/programs/dthelp/parser/pass2/parser/parser.c b/cde/programs/dthelp/parser/pass2/parser/parser.c index 0c915da22..fbcdd77da 100644 --- a/cde/programs/dthelp/parser/pass2/parser/parser.c +++ b/cde/programs/dthelp/parser/pass2/parser/parser.c @@ -35,6 +35,8 @@ #include "if.h" #include "entext.h" +extern void m_mberr1(char *text, const char *arg); + /* Main procedure */ void main(int argc, char **argv) { diff --git a/cde/programs/dthelp/parser/pass2/parser/start.c b/cde/programs/dthelp/parser/pass2/parser/start.c index 8b82ee524..80e9b7173 100644 --- a/cde/programs/dthelp/parser/pass2/parser/start.c +++ b/cde/programs/dthelp/parser/pass2/parser/start.c @@ -32,6 +32,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "userinc.h" #include "globdec.h" +extern void ImpliedAttribute(char *name, M_WCHAR *value); + /* Include generated file */ #include "sfile.c"