libDtSvc: Change to ANSI function definitions

This commit is contained in:
Peter Howkins
2018-06-28 03:58:49 +01:00
parent a5fa1313c4
commit ba513278b9
10 changed files with 17 additions and 17 deletions

View File

@@ -312,7 +312,7 @@ _DtPerfChkpntMsgSend(char *message)
* myDtPerfChkpntEnd --- End the checkpointing message delivery
*/
int
_DtPerfChkpntEnd()
_DtPerfChkpntEnd(void)
{
myDtChkpntMsgSend("End checkpoint delivery", DT_PERF_CHKPNT_MSG_END);
return(1);

View File

@@ -1429,7 +1429,7 @@ void _DtEnvMapForRemote (char *targetHost)
* restores the original envirnment settings for a number of
* environment variables.
*/
void _DtEnvRestoreLocal ()
void _DtEnvRestoreLocal (void)
{
extern char *mostRecentRemoteHostG;
cacheForTargetHost *targetCache;

View File

@@ -207,7 +207,7 @@ makeDefaultIconPath(
* Construct a default value for XMICONSEARCHPATH into outbuf.
*/
static char *
makeDefaultIconPmPath()
makeDefaultIconPmPath(void)
{
static char *defaultIconPmPath = NULL;
@@ -223,7 +223,7 @@ makeDefaultIconPmPath()
* Construct a default value for XMICONBMSEARCHPATH into outbuf.
*/
static char *
makeDefaultIconBmPath()
makeDefaultIconBmPath(void)
{
static char *defaultIconBmPath = NULL;
@@ -254,7 +254,7 @@ makeDefaultIconBmPath()
*
*****************************<->***********************************/
void
_DtEnvSessionManager()
_DtEnvSessionManager(void)
{
#define SESSION_MANAGER "SESSION_MANAGER"
char *session_manager = getenv(SESSION_MANAGER);

View File

@@ -143,7 +143,7 @@ DtInfoShowTopic (
static DtInfoShowStatus
ConnectToMessageServer ()
ConnectToMessageServer (void)
{
char * procid;
Tt_status status;