]> git.eshelyaron.com Git - emacs.git/commitdiff
* image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Mar 2011 07:50:08 +0000 (23:50 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Mar 2011 07:50:08 +0000 (23:50 -0800)
src/ChangeLog
src/image.c

index 0b3d7069cc95fdf4f28107a49ea45167a0aeb801..d1e2fea4edb88f406d947eefcd24f0636cc170ea 100644 (file)
@@ -1,6 +1,7 @@
 2011-03-11  Paul Eggert  <eggert@cs.ucla.edu>
 
        * image.c (clear_image_cache): Now static.
+       (DIM, HAVE_STDLIB_H_1): Remove unused macros.
 
 2011-03-11  Paul Eggert  <eggert@cs.ucla.edu>
 
index 31c8d5bcf6cf6ad0316e2ce403043f6c6abdbe2f..e25cef52957ee6702edf293a097d9b3631b743b8 100644 (file)
@@ -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 */