[Asterisk-code-review] res parking: Make load pri explicit. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Thu Nov 23 13:34:36 CST 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/7312 )

Change subject: res_parking: Make load_pri explicit.
......................................................................

res_parking: Make load_pri explicit.

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
---
M res/res_parking.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/res/res_parking.c b/res/res_parking.c
index fbe256c..593134b 100644
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -1300,4 +1300,5 @@
 	.load = load_module,
 	.unload = unload_module,
 	.reload = reload_module,
+	.load_pri = 0,
 );

-- 
To view, visit https://gerrit.asterisk.org/7312
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259
Gerrit-Change-Number: 7312
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171123/679f5154/attachment.html>


More information about the asterisk-code-review mailing list