aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 16:44:57 -0700
committerPaul Eggert2011-04-13 16:44:57 -0700
commitcd44d2ebb43eb738eca182841c903f8419cd6b5b (patch)
treef8b7a6259790c61c266edb427309005a2149ddaa /src/image.c
parentad9a7a06d48b0be0b1159db566c2760d951d62c1 (diff)
downloademacs-cd44d2ebb43eb738eca182841c903f8419cd6b5b.tar.gz
emacs-cd44d2ebb43eb738eca182841c903f8419cd6b5b.zip
* image.c: Make symbols static if they're not exported.
* dispextern.h (x_create_bitmap_from_xpm_data): Do not declare if USE_GTK. * image.c (x_create_bitmap_from_xpm_data): Do not define if USE_GTK. (xpm_color_cache, ct_table, ct_colors_allocated): Now static.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/image.c b/src/image.c
index f1c3d5d84f0..11c6aa8a17d 100644
--- a/src/image.c
+++ b/src/image.c
@@ -3096,7 +3096,7 @@ struct xpm_cached_color
3096 size. */ 3096 size. */
3097 3097
3098#define XPM_COLOR_CACHE_BUCKETS 1001 3098#define XPM_COLOR_CACHE_BUCKETS 1001
3099struct xpm_cached_color **xpm_color_cache; 3099static struct xpm_cached_color **xpm_color_cache;
3100 3100
3101/* Initialize the color cache. */ 3101/* Initialize the color cache. */
3102 3102
@@ -3312,7 +3312,7 @@ xpm_image_p (Lisp_Object object)
3312 3312
3313#endif /* HAVE_XPM || HAVE_NS */ 3313#endif /* HAVE_XPM || HAVE_NS */
3314 3314
3315#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) 3315#if defined HAVE_XPM && defined HAVE_X_WINDOWS && !defined USE_GTK
3316int 3316int
3317x_create_bitmap_from_xpm_data (struct frame *f, const char **bits) 3317x_create_bitmap_from_xpm_data (struct frame *f, const char **bits)
3318{ 3318{
@@ -4136,11 +4136,11 @@ struct ct_color
4136 4136
4137/* The color hash table. */ 4137/* The color hash table. */
4138 4138
4139struct ct_color **ct_table; 4139static struct ct_color **ct_table;
4140 4140
4141/* Number of entries in the color table. */ 4141/* Number of entries in the color table. */
4142 4142
4143int ct_colors_allocated; 4143static int ct_colors_allocated;
4144 4144
4145/* Initialize the color table. */ 4145/* Initialize the color table. */
4146 4146