Skip to content

Commit

Permalink
core: renamed core init list of pvs
Browse files Browse the repository at this point in the history
- similar name is used in pv_core.c
  • Loading branch information
miconda committed Dec 22, 2020
1 parent 80b3d5d commit bd2b5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/pvapi.c
Expand Up @@ -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},
Expand All @@ -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;
}
Expand Down

0 comments on commit bd2b5c6

Please sign in to comment.