diff --git a/cde/programs/dthelp/parser/canon1/helptag/help.c b/cde/programs/dthelp/parser/canon1/helptag/help.c index cefea973d..cebb308c7 100644 --- a/cde/programs/dthelp/parser/canon1/helptag/help.c +++ b/cde/programs/dthelp/parser/canon1/helptag/help.c @@ -32,6 +32,8 @@ #include "LocaleXlate.h" #include "XlationSvc.h" +void m_mberr1(char *text, const char *arg); + void assert_hometopic_exists(void) { static const char hometopic[] = "-HOMETOPIC"; diff --git a/cde/programs/dthelp/parser/canon1/helptag/option.c b/cde/programs/dthelp/parser/canon1/helptag/option.c index db47515f5..f3c49192b 100644 --- a/cde/programs/dthelp/parser/canon1/helptag/option.c +++ b/cde/programs/dthelp/parser/canon1/helptag/option.c @@ -37,6 +37,8 @@ #define TAGDOTOPT "helptag.opt" #define DOTOPT ".opt" +void m_mberr1(char *text, const char *arg); + void options(LOGICAL filelenonly) { int i; diff --git a/cde/programs/dthelp/parser/canon1/helptag/special.c b/cde/programs/dthelp/parser/canon1/helptag/special.c index 714311e62..24867eb8e 100644 --- a/cde/programs/dthelp/parser/canon1/helptag/special.c +++ b/cde/programs/dthelp/parser/canon1/helptag/special.c @@ -121,6 +121,7 @@ #include #include +#include typedef wchar_t M_WCHAR; @@ -147,9 +148,9 @@ if (argc < 3) { /* Either one argument or none; not more */ if (argc == 2) { - if (!stricmp(argv[1], "b")) both = TRUE; - else if (!stricmp(argv[1], "s")) spec = TRUE; - else if (!stricmp(argv[1], "c")) coll = TRUE; + if (!strcasecmp(argv[1], "b")) both = TRUE; + else if (!strcasecmp(argv[1], "s")) spec = TRUE; + else if (!strcasecmp(argv[1], "c")) coll = TRUE; else error = TRUE; } else both = TRUE; diff --git a/cde/programs/dthelp/parser/canon1/parser/scan.c b/cde/programs/dthelp/parser/canon1/parser/scan.c index 19c988d51..7c08595f8 100644 --- a/cde/programs/dthelp/parser/canon1/parser/scan.c +++ b/cde/programs/dthelp/parser/canon1/parser/scan.c @@ -47,6 +47,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "entity2.h" #include "sref.h" +void m_mberr1(char *text, const char *arg); + /* Actually read a character from an input stream */ int m_actgetc(void) { diff --git a/cde/programs/dthelp/parser/pass1/parser/scan.c b/cde/programs/dthelp/parser/pass1/parser/scan.c index bc20a3b73..5cb04e6b4 100644 --- a/cde/programs/dthelp/parser/pass1/parser/scan.c +++ b/cde/programs/dthelp/parser/pass1/parser/scan.c @@ -47,6 +47,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "entity2.h" #include "sref.h" +void m_mberr1(char *text, const char *arg); + /* Actually read a character from an input stream */ int m_actgetc(void) { diff --git a/cde/programs/dthelp/parser/pass2/htag2/option.c b/cde/programs/dthelp/parser/pass2/htag2/option.c index 1c63a4980..1f882be20 100644 --- a/cde/programs/dthelp/parser/pass2/htag2/option.c +++ b/cde/programs/dthelp/parser/pass2/htag2/option.c @@ -31,6 +31,8 @@ #include #endif +void m_mberr1(char *text, const char *arg); + /* Interpret options from command line and specified files */ #define OPTLEN 512 /* If OPTLEN changes, change fscanf call below */ diff --git a/cde/programs/dthelp/parser/pass2/parser/scan.c b/cde/programs/dthelp/parser/pass2/parser/scan.c index 3bc16ced8..add43bde2 100644 --- a/cde/programs/dthelp/parser/pass2/parser/scan.c +++ b/cde/programs/dthelp/parser/pass2/parser/scan.c @@ -47,6 +47,8 @@ This product and information is proprietary of Tandem Computers Incorporated. #include "entity2.h" #include "sref.h" +void m_mberr1(char *text, const char *arg); + /* Actually read a character from an input stream */ int m_actgetc(void) {