dthelp: fix implicit-function-declaration warnings (mostly)
This commit is contained in:
@@ -28,10 +28,13 @@
|
||||
|
||||
#include "userinc.h"
|
||||
#include "globdec.h"
|
||||
#include "proto.h"
|
||||
|
||||
#include "LocaleXlate.h"
|
||||
#include "XlationSvc.h"
|
||||
|
||||
void m_mberr1(char *text, const char *arg);
|
||||
|
||||
void assert_hometopic_exists(void)
|
||||
{
|
||||
static const char hometopic[] = "-HOMETOPIC";
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "userinc.h"
|
||||
#include "globdec.h"
|
||||
|
||||
void m_mberr1(char *text, const char *arg);
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun)
|
||||
/* get definition of getenv(3c) for getting of environment variables */
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
|
||||
typedef wchar_t M_WCHAR;
|
||||
|
||||
@@ -146,9 +147,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;
|
||||
|
||||
Reference in New Issue
Block a user