X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Frrdset.c;h=c847b96907de21c655707b725712a54289166886;hb=8679670bdbe3c5928ec2e266d9c72e1a758fdf37;hp=5195060356fe870a23573114101262703bb4647c;hpb=5e1e64fb14e92027a6eec09c5f72db980934af36;p=netdata.git diff --git a/src/rrdset.c b/src/rrdset.c index 51950603..c847b969 100644 --- a/src/rrdset.c +++ b/src/rrdset.c @@ -3,7 +3,7 @@ #define RRD_DEFAULT_GAP_INTERPOLATIONS 1 -void rrdset_check_rdlock_int(RRDSET *st, const char *file, const char *function, const unsigned long line) { +void __rrdset_check_rdlock(RRDSET *st, const char *file, const char *function, const unsigned long line) { debug(D_RRD_CALLS, "Checking read lock on chart '%s'", st->id); int ret = netdata_rwlock_trywrlock(&st->rrdset_rwlock); @@ -11,7 +11,7 @@ void rrdset_check_rdlock_int(RRDSET *st, const char *file, const char *function, fatal("RRDSET '%s' should be read-locked, but it is not, at function %s() at line %lu of file '%s'", st->id, function, line, file); } -void rrdset_check_wrlock_int(RRDSET *st, const char *file, const char *function, const unsigned long line) { +void __rrdset_check_wrlock(RRDSET *st, const char *file, const char *function, const unsigned long line) { debug(D_RRD_CALLS, "Checking write lock on chart '%s'", st->id); int ret = netdata_rwlock_tryrdlock(&st->rrdset_rwlock);