From: Paul Eggert Date: Fri, 11 Mar 2011 07:50:08 +0000 (-0800) Subject: * image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~603 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5d5a6173b3bd4c68354b6dceab58ac8e25a0deb;p=emacs.git * image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0b3d7069cc9..d1e2fea4edb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2011-03-11 Paul Eggert * image.c (clear_image_cache): Now static. + (DIM, HAVE_STDLIB_H_1): Remove unused macros. 2011-03-11 Paul Eggert 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) Image types ***********************************************************************/ -/* Value is the number of elements of vector VECTOR. */ - -#define DIM(VECTOR) (sizeof (VECTOR) / sizeof *(VECTOR)) - /* List of supported image types. Use define_image_type to add new types. Use lookup_image_type to find a type for a given symbol. */ @@ -6032,7 +6028,6 @@ jpeg_image_p (Lisp_Object object) /* Work around a warning about HAVE_STDLIB_H being redefined in jconfig.h. */ #ifdef HAVE_STDLIB_H -#define HAVE_STDLIB_H_1 #undef HAVE_STDLIB_H #endif /* HAVE_STLIB_H */