chiark / gitweb /
lib.c: Make `search_recursive' be static, as it should be.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 10:23:18 +0000 (11:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Jun 2024 10:50:40 +0000 (11:50 +0100)
lib.c

diff --git a/lib.c b/lib.c
index c844997e2b2cebebfd1e3d88fdde05b180b8f3f6..d369e7d77e6c43708d30f83aa8a520d723d3c17c 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;