diff options
| author | Paul Eggert | 2011-04-13 19:21:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 19:21:33 -0700 |
| commit | 989b29ad2242850e8256c7509c9551742ddeab45 (patch) | |
| tree | 458c1d28c13dc80e0b77a035f192cf6ed5f13954 /src | |
| parent | 13a55a78d4564f84510ae160f9d19efb40236220 (diff) | |
| download | emacs-989b29ad2242850e8256c7509c9551742ddeab45.tar.gz emacs-989b29ad2242850e8256c7509c9551742ddeab45.zip | |
* search.c (searchbufs, searchbuf_head): Now static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/search.c | 4 |
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 @@ | |||
| 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-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. */ |
| 56 | struct regexp_cache searchbufs[REGEXP_CACHE_SIZE]; | 56 | static 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. */ |
| 59 | struct regexp_cache *searchbuf_head; | 59 | static 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 |