diff options
Diffstat (limited to 'src/ccapi/common')
-rw-r--r-- | src/ccapi/common/win/OldCC/ccutils.c | 2 | ||||
-rw-r--r-- | src/ccapi/common/win/OldCC/ccutils.h | 2 | ||||
-rw-r--r-- | src/ccapi/common/win/OldCC/util.h | 2 | ||||
-rw-r--r-- | src/ccapi/common/win/win-utils.c | 2 | ||||
-rw-r--r-- | src/ccapi/common/win/win-utils.h | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/ccapi/common/win/OldCC/ccutils.c b/src/ccapi/common/win/OldCC/ccutils.c index 403c67e..7abaefa 100644 --- a/src/ccapi/common/win/OldCC/ccutils.c +++ b/src/ccapi/common/win/OldCC/ccutils.c @@ -30,7 +30,7 @@ #include "cci_debugging.h" #include "util.h" -BOOL isNT() { +BOOL isNT(void) { OSVERSIONINFO osvi; DWORD status = 0; BOOL bSupportedVersion = FALSE; diff --git a/src/ccapi/common/win/OldCC/ccutils.h b/src/ccapi/common/win/OldCC/ccutils.h index 9da3d87..0fb7e14 100644 --- a/src/ccapi/common/win/OldCC/ccutils.h +++ b/src/ccapi/common/win/OldCC/ccutils.h @@ -33,7 +33,7 @@ extern "C" { #define REPLY_SUFFIX (char*)"reply" #define LISTEN_SUFFIX (char*)"listen" -BOOL isNT(); +BOOL isNT(void); char* allocEventName (char* uuid, char* suffix); HANDLE createThreadEvent(char* uuid, char* suffix); HANDLE openThreadEvent (char* uuid, char* suffix); diff --git a/src/ccapi/common/win/OldCC/util.h b/src/ccapi/common/win/OldCC/util.h index 45e069a..7ee5319 100644 --- a/src/ccapi/common/win/OldCC/util.h +++ b/src/ccapi/common/win/OldCC/util.h @@ -30,7 +30,7 @@ extern "C" { #endif -BOOL isNT(); +BOOL isNT(void); void* user_allocate( diff --git a/src/ccapi/common/win/win-utils.c b/src/ccapi/common/win/win-utils.c index b49cca8..d9018a6 100644 --- a/src/ccapi/common/win/win-utils.c +++ b/src/ccapi/common/win/win-utils.c @@ -60,7 +60,7 @@ char* serverEndpoint(const char* user) { return _serverEndpoint; } -char* timestamp() { +char* timestamp(void) { SYSTEMTIME _stime; GetSystemTime(&_stime); GetTimeFormat(LOCALE_SYSTEM_DEFAULT, 0, &_stime, "HH:mm:ss", _ts, sizeof(_ts)-1); diff --git a/src/ccapi/common/win/win-utils.h b/src/ccapi/common/win/win-utils.h index 41cab24..94d0a9f 100644 --- a/src/ccapi/common/win/win-utils.h +++ b/src/ccapi/common/win/win-utils.h @@ -50,6 +50,6 @@ char* clientEndpoint(const char* UUID); char* serverEndpoint(const char* UUID); extern unsigned char* pszProtocolSequence; -char* timestamp(); +char* timestamp(void); -#endif // _win_utils_h
\ No newline at end of file +#endif // _win_utils_h |