Commit ec7cc85b authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Make bidi_cache_total_alloc static.

 src/bidi.c <bidi_cache_total_alloc>: Now static.
 (bidi_initialize): Initialize bidi_cache_total_alloc.
parent 5009803b
2011-08-05 Eli Zaretskii <eliz@gnu.org>
* bidi.c <bidi_cache_total_alloc>: Now static.
(bidi_initialize): Initialize bidi_cache_total_alloc.
*xdisp.c (display_line): Release buffer allocated for shelved bidi
cache. (Bug#9221)
......
......@@ -620,7 +620,7 @@ bidi_pop_it (struct bidi_it *bidi_it)
bidi_cache_last_idx = -1;
}
ptrdiff_t bidi_cache_total_alloc;
static ptrdiff_t bidi_cache_total_alloc;
/* Stash away a copy of the cache and its control variables. */
void *
......@@ -768,6 +768,7 @@ bidi_initialize (void)
staticpro (&paragraph_separate_re);
bidi_cache_sp = 0;
bidi_cache_total_alloc = 0;
bidi_initialized = 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment