]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_parking: Make load_pri explicit.
authorCorey Farrell <git@cfware.com>
Mon, 20 Nov 2017 19:05:46 +0000 (14:05 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 21 Nov 2017 16:30:49 +0000 (11:30 -0500)
res_parking has an implicit load_pri of 0 meaining it's one of the very
first modules loaded after modules with global symbols.  Set it
explicitly in the AST_MODULE_INFO block.

Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259

res/res_parking.c

index fbe256c934a1e3892178228d4c350ba44723a183..593134b6052b000e51859640fdca3e9d0a6cc0e3 100644 (file)
@@ -1300,4 +1300,5 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Call Parking Resource
        .load = load_module,
        .unload = unload_module,
        .reload = reload_module,
+       .load_pri = 0,
 );