[sr-dev] git:master:bd2b5c6e: core: renamed core init list of pvs

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 23 14:02:40 CET 2020


Module: kamailio
Branch: master
Commit: bd2b5c6e8ee7e5e81732b7242279c79e552db4dd
URL: https://github.com/kamailio/kamailio/commit/bd2b5c6e8ee7e5e81732b7242279c79e552db4dd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/bd2b5c6e8ee7e5e81732b7242279c79e552db4dd.diff
Patch: https://github.com/kamailio/kamailio/commit/bd2b5c6e8ee7e5e81732b7242279c79e552db4dd.patch

---

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;
 }




More information about the sr-dev mailing list