Replace getCapabilities() with getCapabilities(void)
The latter means no args, the former means any args.
This commit is contained in:
@ -82,7 +82,7 @@ static void clientReply(ROUTER *instance, void *router_session, GWBUF *queue,
|
||||
static void handleError(ROUTER *instance, void *router_session,
|
||||
GWBUF *errmsgbuf, DCB *backend_dcb,
|
||||
error_action_t action, bool *succp);
|
||||
static uint64_t getCapabilities();
|
||||
static uint64_t getCapabilities(void);
|
||||
|
||||
/*
|
||||
* End of the API functions; now the module structure that links to them.
|
||||
@ -1062,7 +1062,7 @@ lock_failed:
|
||||
*
|
||||
* @return RCAP_TYPE_STMT_INPUT.
|
||||
*/
|
||||
static uint64_t getCapabilities()
|
||||
static uint64_t getCapabilities(void)
|
||||
{
|
||||
return RCAP_TYPE_STMT_INPUT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user