aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 19:21:33 -0700
committerPaul Eggert2011-04-13 19:21:33 -0700
commit989b29ad2242850e8256c7509c9551742ddeab45 (patch)
tree458c1d28c13dc80e0b77a035f192cf6ed5f13954 /src
parent13a55a78d4564f84510ae160f9d19efb40236220 (diff)
downloademacs-989b29ad2242850e8256c7509c9551742ddeab45.tar.gz
emacs-989b29ad2242850e8256c7509c9551742ddeab45.zip
* search.c (searchbufs, searchbuf_head): Now static.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/search.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0c811188e07..9e37c661c46 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-04-14 Paul Eggert <eggert@cs.ucla.edu> 12011-04-14 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * search.c (searchbufs, searchbuf_head): Now static.
4
3 * scroll.c (scroll_cost): Remove; unused. 5 * scroll.c (scroll_cost): Remove; unused.
4 * dispextern.h (scroll_cost): Remove decl. 6 * dispextern.h (scroll_cost): Remove decl.
5 7
diff --git a/src/search.c b/src/search.c
index ea10e47f556..c522de90e05 100644
--- a/src/search.c
+++ b/src/search.c
@@ -53,10 +53,10 @@ struct regexp_cache
53}; 53};
54 54
55/* The instances of that struct. */ 55/* The instances of that struct. */
56struct regexp_cache searchbufs[REGEXP_CACHE_SIZE]; 56static struct regexp_cache searchbufs[REGEXP_CACHE_SIZE];
57 57
58/* The head of the linked list; points to the most recently used buffer. */ 58/* The head of the linked list; points to the most recently used buffer. */
59struct regexp_cache *searchbuf_head; 59static struct regexp_cache *searchbuf_head;
60 60
61 61
62/* Every call to re_match, etc., must pass &search_regs as the regs 62/* Every call to re_match, etc., must pass &search_regs as the regs