Module: kamailio
Branch: master
Commit: bd2b5c6e8ee7e5e81732b7242279c79e552db4dd
URL:
https://github.com/kamailio/kamailio/commit/bd2b5c6e8ee7e5e81732b7242279c79…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-22T21:15:12+01:00
core: renamed core init list of pvs
- similar name is used in pv_core.c
---
Modified: src/core/pvapi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bd2b5c6e8ee7e5e81732b7242279c79…
Patch:
https://github.com/kamailio/kamailio/commit/bd2b5c6e8ee7e5e81732b7242279c79…
---
diff --git a/src/core/pvapi.c b/src/core/pvapi.c
index 30b2a7cdfe..5fc2952ed9 100644
--- a/src/core/pvapi.c
+++ b/src/core/pvapi.c
@@ -2061,7 +2061,7 @@ tr_export_t* tr_lookup_class(str *tclass)
* core PVs, initialization and destroy APIs
********************************************************/
-static pv_export_t _core_pvs[] = {
+static pv_export_t _core_init_pvs[] = {
{{"null", (sizeof("null")-1)}, /* */
PVT_NULL, pv_get_null, 0,
0, 0, 0, 0},
@@ -2085,7 +2085,7 @@ int pv_init_api(void)
strcpy(pv_str_null_buf, PV_STR_NULL_VAL);
pv_str_null.s = pv_str_null_buf;
- if(register_pvars_mod("core", _core_pvs)<0)
+ if(register_pvars_mod("core", _core_init_pvs)<0)
return -1;
return 0;
}