Drop __FUNCTION__ from clixon_debug() calls

This commit is contained in:
Philip Prindeville 2024-01-10 21:49:59 -07:00 committed by Olof Hagsand
parent d5a8d6b6e1
commit cf2e27b43d
74 changed files with 619 additions and 578 deletions

View file

@ -395,7 +395,7 @@ yang_modules_state_get(clixon_handle h,
}
retval = 1;
done:
clixon_debug(CLIXON_DBG_YANG, "%s %d", __FUNCTION__, retval);
clixon_debug(CLIXON_DBG_YANG, "%d", retval);
if (xvec)
free(xvec);
if (cb)
@ -756,7 +756,7 @@ ietf_yang_metadata_extension_cb(clixon_handle h,
if (strcmp(modname, "ietf-yang-metadata") != 0 || strcmp(extname, "annotation") != 0)
goto ok;
name = cv_string_get(yang_cv_get(ys));
clixon_debug(CLIXON_DBG_YANG, "%s Enabled extension:%s:%s:%s", __FUNCTION__, modname, extname, name);
clixon_debug(CLIXON_DBG_YANG, "Enabled extension:%s:%s:%s", modname, extname, name);
/* XXX Nothing yet - this should signal that xml attribute annotations are allowed
* Possibly, add an "annotation" YANG node.
*/