aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-10 23:50:08 -0800
committerPaul Eggert2011-03-10 23:50:08 -0800
commitd5d5a6173b3bd4c68354b6dceab58ac8e25a0deb (patch)
tree8c3f0a18e5641acf1738b20ae6e0055e684eeaf5 /src
parentce0ad53d442b9e87050d276e4efbcd733c51a9d8 (diff)
downloademacs-d5d5a6173b3bd4c68354b6dceab58ac8e25a0deb.tar.gz
emacs-d5d5a6173b3bd4c68354b6dceab58ac8e25a0deb.zip
* image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/image.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0b3d7069cc9..d1e2fea4edb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
12011-03-11 Paul Eggert <eggert@cs.ucla.edu> 12011-03-11 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * image.c (clear_image_cache): Now static. 3 * image.c (clear_image_cache): Now static.
4 (DIM, HAVE_STDLIB_H_1): Remove unused macros.
4 5
52011-03-11 Paul Eggert <eggert@cs.ucla.edu> 62011-03-11 Paul Eggert <eggert@cs.ucla.edu>
6 7
diff --git a/src/image.c b/src/image.c
index 31c8d5bcf6c..e25cef52957 100644
--- a/src/image.c
+++ b/src/image.c
@@ -550,10 +550,6 @@ x_create_bitmap_mask (struct frame *f, int id)
550 Image types 550 Image types
551 ***********************************************************************/ 551 ***********************************************************************/
552 552
553/* Value is the number of elements of vector VECTOR. */
554
555#define DIM(VECTOR) (sizeof (VECTOR) / sizeof *(VECTOR))
556
557/* List of supported image types. Use define_image_type to add new 553/* List of supported image types. Use define_image_type to add new
558 types. Use lookup_image_type to find a type for a given symbol. */ 554 types. Use lookup_image_type to find a type for a given symbol. */
559 555
@@ -6032,7 +6028,6 @@ jpeg_image_p (Lisp_Object object)
6032/* Work around a warning about HAVE_STDLIB_H being redefined in 6028/* Work around a warning about HAVE_STDLIB_H being redefined in
6033 jconfig.h. */ 6029 jconfig.h. */
6034#ifdef HAVE_STDLIB_H 6030#ifdef HAVE_STDLIB_H
6035#define HAVE_STDLIB_H_1
6036#undef HAVE_STDLIB_H 6031#undef HAVE_STDLIB_H
6037#endif /* HAVE_STLIB_H */ 6032#endif /* HAVE_STLIB_H */
6038 6033