Remove duplicate #define ARRAY_LENGTH
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Aug 2010 20:45:36 +0000 (16:45 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Aug 2010 20:45:36 +0000 (16:45 -0400)
event-loop.c

index 3546cdf..345660f 100644 (file)
@@ -409,8 +409,6 @@ wl_event_loop_destroy(struct wl_event_loop *loop)
        free(loop);
 }
 
-#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
-
 static void
 dispatch_idles(struct wl_event_loop *loop)
 {