Combine ModuleInit and GetModuleObject
The two functions can be combined into one as both are called only once. This removes the need for the explicit ModuleInit function.
This commit is contained in:
@ -98,10 +98,6 @@ void qc_thread_end(void)
|
||||
extern "C"
|
||||
{
|
||||
|
||||
void ModuleInit()
|
||||
{
|
||||
}
|
||||
|
||||
/* @see function load_module in load_utils.c for explanation of the following
|
||||
* lint directives.
|
||||
*/
|
||||
|
@ -2591,10 +2591,6 @@ MODULE_INFO info =
|
||||
"V1.0.0"
|
||||
};
|
||||
|
||||
void ModuleInit()
|
||||
{
|
||||
}
|
||||
|
||||
QUERY_CLASSIFIER* GetModuleObject()
|
||||
{
|
||||
return &qc;
|
||||
|
@ -3203,10 +3203,6 @@ MODULE_INFO info =
|
||||
"V1.0.0"
|
||||
};
|
||||
|
||||
void ModuleInit()
|
||||
{
|
||||
}
|
||||
|
||||
QUERY_CLASSIFIER* GetModuleObject()
|
||||
{
|
||||
return &qc;
|
||||
|
Reference in New Issue
Block a user