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:
parent
ed5d952294
commit
e43dbc5460
3 changed files with 4 additions and 5 deletions
|
@ -45,7 +45,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
char * _DtCliSrvGetDtUserSession()
|
||||
char * _DtCliSrvGetDtUserSession(void)
|
||||
{
|
||||
char * envVar = getenv("DTUSERSESSION");
|
||||
char * ret_envVar = NULL;
|
||||
|
|
|
@ -390,7 +390,7 @@ char *_DtHelpGetMessage(
|
|||
* If that is NULL, returns NULL.
|
||||
*
|
||||
*****************************************************************************/
|
||||
char *_DtHelpGetLocale()
|
||||
char *_DtHelpGetLocale(void)
|
||||
{
|
||||
char *loc;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue