Replace getCapabilities() with getCapabilities(void)

The latter means no args, the former means any args.
This commit is contained in:
Johan Wikman
2016-10-21 20:59:30 +03:00
parent 59a4152d8a
commit db2cccbd8f
26 changed files with 47 additions and 48 deletions

View File

@ -111,7 +111,7 @@ static void clientReply(ROUTER *instance, void *router_session, GWBUF *queue,
DCB *backend_dcb);
static void handleError(ROUTER *instance, void *router_session, GWBUF *errbuf,
DCB *problem_dcb, error_action_t action, bool *succp);
static uint64_t getCapabilities();
static uint64_t getCapabilities(void);
/** The module object definition */
@ -985,7 +985,7 @@ static void rses_end_locked_router_action(ROUTER_CLIENT_SES* rses)
spinlock_release(&rses->rses_lock);
}
static uint64_t getCapabilities()
static uint64_t getCapabilities(void)
{
return RCAP_TYPE_NONE;
}