diff options
| author | Heikki Linnakangas | 2014-03-12 07:24:14 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2014-03-12 07:24:14 +0000 |
| commit | 3520bb7fc9b9d86a2ba40c1a04eb0d92ea323098 (patch) | |
| tree | 1cf2cb7d7f3bae88e75637bd4f5eb34c9a511364 /loadlib.c | |
| parent | a7961d0fc477dffd986e70afc473e7d675de759e (diff) | |
Use "function(void)" instead of "function()" to declare 0-arg functions.
"function(void)" is the correct syntax in a function declaration, although
in practice compilers accept the latter too. It's OK in a function
definition, but change those too for consistency.
Michael Paquier and me.
Diffstat (limited to 'loadlib.c')
| -rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -491,7 +491,7 @@ RETCODE CALL_IsolateDtcConn(ConnectionClass *conn, BOOL continueConnection) #endif /* _HANDLE_ENLIST_IN_DTC_ */ #if defined(WIN_DYN_LOAD) -BOOL SSLLIB_check() +BOOL SSLLIB_check(void) { extern HINSTANCE s_hModule; HMODULE hmodule = NULL; @@ -516,7 +516,7 @@ BOOL SSLLIB_check() return (NULL != hmodule); } #else -BOOL SSLLIB_check() +BOOL SSLLIB_check(void) { return TRUE; } |
