summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/image.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3a6b09dfb1f..0b3d7069cc9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
+ * image.c (clear_image_cache): Now static.
+
+2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
+
Fix some minor problems found by GCC 4.5.2's static checks.
* fringe.c (update_window_fringes): Mark locals as initialized
diff --git a/src/image.c b/src/image.c
index c7820c3a7fe..31c8d5bcf6c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1493,7 +1493,7 @@ free_image_cache (struct frame *f)
If image-cache-eviction-delay is non-nil, this frees images in the cache
which weren't displayed for at least that many seconds. */
-void
+static void
clear_image_cache (struct frame *f, Lisp_Object filter)
{
struct image_cache *c = FRAME_IMAGE_CACHE (f);