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

libDtHelp: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 03:53:31 +01:00
parent ed5d952294
commit e43dbc5460
3 changed files with 4 additions and 5 deletions

View file

@ -45,7 +45,7 @@
#include <stdlib.h>
#include <string.h>
char * _DtCliSrvGetDtUserSession()
char * _DtCliSrvGetDtUserSession(void)
{
char * envVar = getenv("DTUSERSESSION");
char * ret_envVar = NULL;

View file

@ -390,7 +390,7 @@ char *_DtHelpGetMessage(
* If that is NULL, returns NULL.
*
*****************************************************************************/
char *_DtHelpGetLocale()
char *_DtHelpGetLocale(void)
{
char *loc;

View file

@ -93,7 +93,7 @@ static short hexTable[256]; /* conversion value */
* Table index for the hex values. Initialized once, first time.
* Used for translation value or delimiter significance lookup.
*/
static void initHexTable()
static void initHexTable(void)
{
/*
* We build the table at run time for several reasons:
@ -124,8 +124,7 @@ static void initHexTable()
/*
* read next hex value in the input stream, return -1 if EOF
*/
static int NextInt (fstream)
_DtGrStream *fstream;
static int NextInt (_DtGrStream *fstream)
{
int ch;
int value = 0;