1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dthelp: fix implicit-function-declaration warnings (the rest)

... at least with regard to the non-generated code.
This commit is contained in:
Jon Trulson 2021-11-16 18:28:16 -07:00
parent 4f16e12ed8
commit cf7e51ccb5
7 changed files with 16 additions and 3 deletions

View file

@ -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";

View file

@ -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;

View file

@ -121,6 +121,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
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;

View file

@ -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)
{

View file

@ -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)
{

View file

@ -31,6 +31,8 @@
#include <stdlib.h>
#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 */

View file

@ -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)
{