<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7307">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Loader: Remove unneeded load_pri declarations.<br><br>Instead of specifying AST_MODFLAG_LOAD_ORDER with load_pri<br>AST_MODPRI_DEFAULT just use AST_MODFLAG_DEFAULT.<br><br>Change-Id: I0123258eafce324249433a69df15a85cc16e509f<br>---<br>M apps/app_skel.c<br>M res/res_format_attr_h263.c<br>M res/res_format_attr_h264.c<br>M res/res_hep_pjsip.c<br>M res/res_hep_rtcp.c<br>M res/res_http_media_cache.c<br>M res/res_pjsip_endpoint_identifier_anonymous.c<br>M tests/test_http_media_cache.c<br>8 files changed, 8 insertions(+), 16 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/7307/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/apps/app_skel.c b/apps/app_skel.c<br>index 0dbd4c5..b3c8876 100644<br>--- a/apps/app_skel.c<br>+++ b/apps/app_skel.c<br>@@ -755,10 +755,9 @@<br> return AST_MODULE_LOAD_DECLINE;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Skeleton (sample) Application",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Skeleton (sample) Application",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .unload = unload_module,<br> .reload = reload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_format_attr_h263.c b/res/res_format_attr_h263.c<br>index a32f40f..b49f1d6 100644<br>--- a/res/res_format_attr_h263.c<br>+++ b/res/res_format_attr_h263.c<br>@@ -269,9 +269,8 @@<br> return AST_MODULE_LOAD_SUCCESS;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "H.263 Format Attribute Module",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "H.263 Format Attribute Module",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_format_attr_h264.c b/res/res_format_attr_h264.c<br>index fa33395..682b871 100644<br>--- a/res/res_format_attr_h264.c<br>+++ b/res/res_format_attr_h264.c<br>@@ -330,9 +330,8 @@<br> return AST_MODULE_LOAD_SUCCESS;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "H.264 Format Attribute Module",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "H.264 Format Attribute Module",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_hep_pjsip.c b/res/res_hep_pjsip.c<br>index b5be4a1..6283efc 100644<br>--- a/res/res_hep_pjsip.c<br>+++ b/res/res_hep_pjsip.c<br>@@ -249,9 +249,8 @@<br> return 0;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "PJSIP HEPv3 Logger",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "PJSIP HEPv3 Logger",<br> .support_level = AST_MODULE_SUPPORT_EXTENDED,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_hep_rtcp.c b/res/res_hep_rtcp.c<br>index 31b9c48..afad0c8 100644<br>--- a/res/res_hep_rtcp.c<br>+++ b/res/res_hep_rtcp.c<br>@@ -180,9 +180,8 @@<br> return 0;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "RTCP HEPv3 Logger",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "RTCP HEPv3 Logger",<br> .support_level = AST_MODULE_SUPPORT_EXTENDED,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_http_media_cache.c b/res/res_http_media_cache.c<br>index 175f24c..918686e 100644<br>--- a/res/res_http_media_cache.c<br>+++ b/res/res_http_media_cache.c<br>@@ -437,9 +437,8 @@<br> return AST_MODULE_LOAD_SUCCESS;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "HTTP Media Cache Backend",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "HTTP Media Cache Backend",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/res/res_pjsip_endpoint_identifier_anonymous.c b/res/res_pjsip_endpoint_identifier_anonymous.c<br>index a1144a8..b47aefa 100644<br>--- a/res/res_pjsip_endpoint_identifier_anonymous.c<br>+++ b/res/res_pjsip_endpoint_identifier_anonymous.c<br>@@ -128,9 +128,8 @@<br> return 0;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "PJSIP Anonymous endpoint identifier",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "PJSIP Anonymous endpoint identifier",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br>diff --git a/tests/test_http_media_cache.c b/tests/test_http_media_cache.c<br>index 23ebbdf..2a3398f 100644<br>--- a/tests/test_http_media_cache.c<br>+++ b/tests/test_http_media_cache.c<br>@@ -692,10 +692,9 @@<br> return 0;<br> }<br> <br>-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "HTTP Media Cache Backend Tests",<br>+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "HTTP Media Cache Backend Tests",<br> .support_level = AST_MODULE_SUPPORT_CORE,<br> .load = load_module,<br> .reload = reload_module,<br> .unload = unload_module,<br>- .load_pri = AST_MODPRI_DEFAULT,<br> );<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7307">change 7307</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7307"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I0123258eafce324249433a69df15a85cc16e509f </div>
<div style="display:none"> Gerrit-Change-Number: 7307 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>