Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 8b16905

Browse files
LaszloLangoyichoi
authored andcommitted
Fixed 'function declaration is not a prototype' compiler warnings. (#138)
libtuv-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
1 parent c021887 commit 8b16905

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/tuv__debuglog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ extern "C" {
9999
#endif
100100

101101

102-
void InitDebugSettings();
103-
void ReleaseDebugSettings();
102+
void InitDebugSettings(void);
103+
void ReleaseDebugSettings(void);
104104

105105

106106
#ifdef __cplusplus

src/tuv_debuglog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const char* tuv_debug_prefix[4] = { "", "ERR", "WRN", "INF" };
3131
#endif // ENABLE_DEBUG_LOG
3232

3333

34-
void InitDebugSettings() {
34+
void InitDebugSettings(void) {
3535
#ifdef ENABLE_DEBUG_LOG
3636
const char* dbglevel = NULL;
3737
const char* dbglogfile = NULL;
@@ -59,7 +59,7 @@ void InitDebugSettings() {
5959
}
6060

6161

62-
void ReleaseDebugSettings() {
62+
void ReleaseDebugSettings(void) {
6363
#ifdef ENABLE_DEBUG_LOG
6464
if (tuv_log_stream != stderr && tuv_log_stream != stdout) {
6565
fclose(tuv_log_stream);

0 commit comments

Comments
 (0)