* discarded-qualifiers warnings.
* Function definitions, the .h doesn't match the .c.
* Added some include to ensure the .c has function definition.
*****************************************************************************/
int
_DtHelpCeGetUncompressedFileName (
- char *name,
+ char *name,
char **ret_name )
{
char *inFile = NULL;
#include "FormatCCDFI.h"
#include "FormatSDLI.h"
#include "StringFuncsI.h"
+#include "FormatI.h"
#ifdef NLS16
_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;
int seg_type,
char **font_attr );
extern int _DtHelpFormatToc (
- XtPointer client_data,
- _DtHelpVolumeHdl volume,
- char *id_string,
- char *ret_id,
- XtPointer *ret_handle);
+ DtHelpDispAreaStruct *client_data,
+ _DtHelpVolumeHdl volume,
+ char *id_string,
+ char **ret_id,
+ XtPointer *ret_handle);
extern int _DtHelpFormatTopic (
XtPointer client_data,
_DtHelpVolumeHdl volume,
#include <Dt/Help.h>
#include <Dt/HelpDialog.h>
-
+
/*
* private includes
*/
#include "bufioI.h"
#include "Access.h"
+#include "DisplayAreaP.h"
#include "AccessI.h"
#include "StringFuncsI.h"
#include "DisplayAreaI.h"
*****************************************************************************/
int _DtGrOpenFile(
_DtGrStream *stream,
- const char *path)
+ char *path)
{
char *fname = NULL;
/* Open a file stream */
int _DtGrOpenFile(
_DtGrStream *stream,
- const char *path
+ char *path
);
/* Open a buffer stream */
#include <Dt/Help.h>
#include "DisplayAreaI.h"
+#include "DisplayAreaP.h"
#include "StringFuncsI.h"
#include "HelposI.h"
#include "HistoryI.h"
* private includes
*/
#include "DisplayAreaI.h"
+#include "DisplayAreaP.h"
#include "bufioI.h"
#include "Access.h"
#define INT_MESSAGE5 " The connection was probably broken by a server shudown or KillClient.\r\n"
static int PrintXError(Display *dpy, XErrorEvent *event, FILE *fp);
-static char *SysErrorMsg(int n);
+static const char *SysErrorMsg(int n);
/* Error Handlers */
static int XIOError(Display *dpy);
* FUNCTION:
* RETURNS:
*/
-static char *
+static const char *
SysErrorMsg(
int n
)
extern char *sys_errlist[];
extern int sys_nerr;
#endif
- char *s = ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
+ const char *s = ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
return (s ? s : "no such error");
}