From bd2b5c6e8ee7e5e81732b7242279c79e552db4dd Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 22 Dec 2020 21:15:12 +0100 Subject: [PATCH] core: renamed core init list of pvs - similar name is used in pv_core.c --- src/core/pvapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pvapi.c b/src/core/pvapi.c index 30b2a7cdfea..5fc2952ed9a 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; }