X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/runlisp/blobdiff_plain/68f84445eae7a1267a0ef2592e3cb6725544a7cd..3b27cf53da4dd3258fdc47b74633ae928428c879:/lib.c?ds=sidebyside diff --git a/lib.c b/lib.c index c844997..99cad5d 100644 --- a/lib.c +++ b/lib.c @@ -953,9 +953,9 @@ static void set_config_section_parents(struct config *conf, * Inheritance cycles and ambiguous inheritance are diagnosed as fatal * errors. */ -struct config_var *search_recursive(struct config *conf, - struct config_section *sect, - const char *name, size_t sz) +static struct config_var *search_recursive(struct config *conf, + struct config_section *sect, + const char *name, size_t sz) { struct config_cache_entry *cache; struct treap_path path; @@ -1638,7 +1638,7 @@ static const char *subst(const char *p, const char *l, /* If there's an alternative, then we need to process (or maybe * skip) it. Otherwise, we should complain if there was no - * veriable, and we're not skipping. + * variable, and we're not skipping. */ if (p < l && *p == '?') p = subst(p + 1, l, sb, file, line, subqfilt,