[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113943: * image.c (imagemagick_create_cache, imagem
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r113943: * image.c (imagemagick_create_cache, imagemagick_get_animation_cache) |
Date: |
Mon, 19 Aug 2013 04:24:56 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113943
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2013-08-19 08:24:19 +0400
message:
* image.c (imagemagick_create_cache, imagemagick_get_animation_cache)
(imagemagick_prune_animation_cache): Now static.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/image.c image.c-20091113204419-o5vbwnq5f7feedwu-2969
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-08-18 19:18:43 +0000
+++ b/src/ChangeLog 2013-08-19 04:24:19 +0000
@@ -1,3 +1,8 @@
+2013-08-19 Dmitry Antipov <address@hidden>
+
+ * image.c (imagemagick_create_cache, imagemagick_get_animation_cache)
+ (imagemagick_prune_animation_cache): Now static.
+
2013-08-18 Lars Magne Ingebrigtsen <address@hidden>
* image.c (imagemagick_get_animation_cache): Don't segfault when
=== modified file 'src/image.c'
--- a/src/image.c 2013-08-18 19:18:43 +0000
+++ b/src/image.c 2013-08-19 04:24:19 +0000
@@ -7887,18 +7887,18 @@
static struct animation_cache *animation_cache = NULL;
-struct animation_cache *
+static struct animation_cache *
imagemagick_create_cache (char *signature)
{
- struct animation_cache *cache = xzalloc (sizeof (struct animation_cache));
+ struct animation_cache *cache = xzalloc (sizeof *cache);
cache->signature = signature;
cache->update_time = current_emacs_time ();
return cache;
}
/* Discard cached images that haven't been used for a minute. */
-void
-imagemagick_prune_animation_cache ()
+static void
+imagemagick_prune_animation_cache (void)
{
struct animation_cache *cache = animation_cache;
struct animation_cache *prev = NULL;
@@ -7928,7 +7928,7 @@
}
}
-struct animation_cache *
+static struct animation_cache *
imagemagick_get_animation_cache (MagickWand *wand)
{
char *signature = xstrdup (MagickGetImageSignature (wand));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113943: * image.c (imagemagick_create_cache, imagemagick_get_animation_cache),
Dmitry Antipov <=