chiark / gitweb /
Fix a number of random typos in source commentary and documentation.
[runlisp] / lib.c
diff --git a/lib.c b/lib.c
index c844997e2b2cebebfd1e3d88fdde05b180b8f3f6..99cad5d61e92abb7189a1b45941eb7fee66a127b 100644 (file)
--- 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,