diff --git a/lib/clixon/clixon_err.h b/lib/clixon/clixon_err.h index 8b8900ac..b5961453 100644 --- a/lib/clixon/clixon_err.h +++ b/lib/clixon/clixon_err.h @@ -55,7 +55,7 @@ enum clicon_err{ OE_DB = 1, /* database registries */ OE_DEMON, /* demons: pidfiles, etc */ OE_EVENTS, /* events, filedescriptors, timeouts */ - OE_CFG, /* config commit / quagga */ + OE_CFG, /* configuration */ OE_PROTO, /* config/client communication */ OE_REGEX, /* Regexp error */ OE_UNIX, /* unix/linux syscall error */ diff --git a/lib/clixon/clixon_yang.h b/lib/clixon/clixon_yang.h index 18fbee6b..49b5c5da 100644 --- a/lib/clixon/clixon_yang.h +++ b/lib/clixon/clixon_yang.h @@ -258,6 +258,7 @@ char *yang_find_myprefix(yang_stmt *ys); int yang_order(yang_stmt *y); int yang_print(FILE *f, yang_node *yn); int yang_print_cbuf(cbuf *cb, yang_node *yn, int marginal); +int ys_populate(yang_stmt *ys, void *arg); yang_stmt *yang_parse_file(int fd, const char *name, yang_spec *ysp); int yang_parse(clicon_handle h, const char *yang_dir, const char *module, const char *revision, yang_spec *ysp); diff --git a/lib/src/clixon_yang.c b/lib/src/clixon_yang.c index afdedbc1..d6336da9 100644 --- a/lib/src/clixon_yang.c +++ b/lib/src/clixon_yang.c @@ -1331,7 +1331,7 @@ ys_populate_identity(yang_stmt *ys, * See ys_parse_sub for first pass and what can be assumed * After this pass, cv:s are set for LEAFs and LEAF-LISTs */ -static int +int ys_populate(yang_stmt *ys, void *arg) {