mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Corrected some module issues introduced by r383579.
When I moved res_json.c to json.c, I left the MODULE_INFO stuff in there, which was interesting if you ran module show. I also forgot to call what was in module_load() from asterisk main(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@383611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -241,6 +241,7 @@ int daemon(int, int); /* defined in libresolv of all places */
|
||||
#include "asterisk/uuid.h"
|
||||
#include "asterisk/sorcery.h"
|
||||
#include "asterisk/stasis.h"
|
||||
#include "asterisk/json.h"
|
||||
|
||||
#include "../defaults.h"
|
||||
|
||||
@@ -4070,6 +4071,7 @@ int main(int argc, char *argv[])
|
||||
ast_el_read_history(filename);
|
||||
}
|
||||
|
||||
ast_json_init();
|
||||
ast_ulaw_init();
|
||||
ast_alaw_init();
|
||||
tdd_init();
|
||||
|
Reference in New Issue
Block a user