libcsa: Change to ANSI function definitions

This commit is contained in:
Peter Howkins
2018-06-28 03:54:49 +01:00
parent e43dbc5460
commit e6f38a9910
6 changed files with 11 additions and 13 deletions

View File

@@ -75,7 +75,7 @@ _DtCmGetPrefix(char *str, char sep)
}
extern char *
_DtCmGetLocalHost()
_DtCmGetLocalHost(void)
{
static char *host = NULL;
@@ -136,7 +136,7 @@ _DtCmGetLocalDomain(char *hostname)
}
extern char *
_DtCmGetHostAtDomain()
_DtCmGetHostAtDomain(void)
{
static char *hostname = NULL;
char *host;
@@ -157,7 +157,7 @@ _DtCmGetHostAtDomain()
}
extern char *
_DtCmGetUserName()
_DtCmGetUserName(void)
{
static char *name = NULL;
_Xgetpwparams pwd_buf;