]> git.eshelyaron.com Git - emacs.git/commitdiff
* search.c (searchbufs, searchbuf_head): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 02:21:33 +0000 (19:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 02:21:33 +0000 (19:21 -0700)
src/ChangeLog
src/search.c

index 0c811188e076d8f3b1d0b17ac3e81d67eb7b02cd..9e37c661c4660bbd94d37c0fd33c0a22da10ca4d 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * search.c (searchbufs, searchbuf_head): Now static.
+
        * scroll.c (scroll_cost): Remove; unused.
        * dispextern.h (scroll_cost): Remove decl.
 
index ea10e47f5562cd579e967f7608bbd2612c48cd8b..c522de90e05516d757f78b4a83602f4a6dc92391 100644 (file)
@@ -53,10 +53,10 @@ struct regexp_cache
 };
 
 /* The instances of that struct.  */
-struct regexp_cache searchbufs[REGEXP_CACHE_SIZE];
+static struct regexp_cache searchbufs[REGEXP_CACHE_SIZE];
 
 /* The head of the linked list; points to the most recently used buffer.  */
-struct regexp_cache *searchbuf_head;
+static struct regexp_cache *searchbuf_head;
 
 
 /* Every call to re_match, etc., must pass &search_regs as the regs