Fix to compile warnings.

* discarded-qualifiers warnings.
* Function definitions, the .h doesn't match the .c.
* Added some include to ensure the .c has function definition.
This commit is contained in:
Jose Rubio
2019-10-11 10:49:48 +02:00
parent f9790767f3
commit 0086a7067e
9 changed files with 19 additions and 15 deletions

View File

@@ -89,6 +89,7 @@ extern int errno;
#include "FormatCCDFI.h"
#include "FormatSDLI.h"
#include "StringFuncsI.h"
#include "FormatI.h"
#ifdef NLS16
@@ -1177,9 +1178,9 @@ int
_DtHelpFormatToc (
DtHelpDispAreaStruct *pDAS,
_DtHelpVolumeHdl volume,
char *id,
char **ret_id,
XtPointer *ret_handle)
char *id,
char **ret_id,
XtPointer *ret_handle)
{
int result = 0;
_DtCvTopicPtr topic = NULL;