|
@@ -2061,7 +2061,7 @@ tr_export_t* tr_lookup_class(str *tclass)
|
|
* core PVs, initialization and destroy APIs
|
|
* core PVs, initialization and destroy APIs
|
|
********************************************************/
|
|
********************************************************/
|
|
|
|
|
|
-static pv_export_t _core_pvs[] = {
|
|
|
|
|
|
+static pv_export_t _core_init_pvs[] = {
|
|
{{"null", (sizeof("null")-1)}, /* */
|
|
{{"null", (sizeof("null")-1)}, /* */
|
|
PVT_NULL, pv_get_null, 0,
|
|
PVT_NULL, pv_get_null, 0,
|
|
0, 0, 0, 0},
|
|
0, 0, 0, 0},
|
|
@@ -2085,7 +2085,7 @@ int pv_init_api(void)
|
|
strcpy(pv_str_null_buf, PV_STR_NULL_VAL);
|
|
strcpy(pv_str_null_buf, PV_STR_NULL_VAL);
|
|
pv_str_null.s = pv_str_null_buf;
|
|
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 -1;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|