Browse code

core: renamed core init list of pvs

- similar name is used in pv_core.c

Daniel-Constantin Mierla authored on 22/12/2020 20:15:12
Showing 1 changed files
... ...
@@ -2061,7 +2061,7 @@ tr_export_t* tr_lookup_class(str *tclass)
2061 2061
  * core PVs, initialization and destroy APIs
2062 2062
  ********************************************************/
2063 2063
 
2064
-static pv_export_t _core_pvs[] = {
2064
+static pv_export_t _core_init_pvs[] = {
2065 2065
 	{{"null", (sizeof("null")-1)}, /* */
2066 2066
 		PVT_NULL, pv_get_null, 0,
2067 2067
 		0, 0, 0, 0},
... ...
@@ -2085,7 +2085,7 @@ int pv_init_api(void)
2085 2085
 	strcpy(pv_str_null_buf, PV_STR_NULL_VAL);
2086 2086
 	pv_str_null.s = pv_str_null_buf;
2087 2087
 
2088
-	if(register_pvars_mod("core", _core_pvs)<0)
2088
+	if(register_pvars_mod("core", _core_init_pvs)<0)
2089 2089
 		return -1;
2090 2090
 	return 0;
2091 2091
 }