Create a macro for module declarations
The modules are now declared with a common macro. This allows future additions to the module loading process while also making the loaded symbol name a constant.
This commit is contained in:
@ -599,7 +599,7 @@ int gssapi_auth_load_users(SERV_LISTENER *listener)
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
MODULE_INFO* GetModuleObject()
|
||||
MODULE_INFO* MXS_CREATE_MODULE()
|
||||
{
|
||||
static GWAUTHENTICATOR MyObject =
|
||||
{
|
||||
|
@ -263,7 +263,7 @@ static int gssapi_backend_auth_authenticate(DCB *dcb)
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
MODULE_INFO* GetModuleObject()
|
||||
MODULE_INFO* MXS_CREATE_MODULE()
|
||||
{
|
||||
static GWAUTHENTICATOR MyObject =
|
||||
{
|
||||
|
Reference in New Issue
Block a user