summaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-03-12 07:24:14 +0000
committerHeikki Linnakangas2014-03-12 07:24:14 +0000
commit3520bb7fc9b9d86a2ba40c1a04eb0d92ea323098 (patch)
tree1cf2cb7d7f3bae88e75637bd4f5eb34c9a511364 /loadlib.c
parenta7961d0fc477dffd986e70afc473e7d675de759e (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadlib.c b/loadlib.c
index 06dca58..1c70d62 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -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;
}