Module init and fini API tidy up
This commit is contained in:
parent
b56f950c15
commit
6220af868c
1 changed files with 3 additions and 2 deletions
5
opsb.c
5
opsb.c
|
@ -745,7 +745,7 @@ void reportdns(char *data, adns_answer *a) {
|
|||
checkqueue();
|
||||
}
|
||||
|
||||
int ModInit (Module *mod_ptr)
|
||||
int ModInit( void )
|
||||
{
|
||||
strlcpy(opsb.targethost, me.uplink, MAXHOST);
|
||||
opsb.targetport = me.port;
|
||||
|
@ -782,8 +782,9 @@ int ModInit (Module *mod_ptr)
|
|||
return NS_SUCCESS;
|
||||
}
|
||||
|
||||
void ModFini()
|
||||
int ModFini( void )
|
||||
{
|
||||
return NS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef WIN32 /* temp */
|
||||
|
|
Reference in a new issue