]> err.no Git - systemd/commitdiff
cdrom_id: remove ARRAY_SIZE() declaration
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Oct 2008 10:40:47 +0000 (12:40 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Oct 2008 10:40:47 +0000 (12:40 +0200)
extras/cdrom_id/cdrom_id.c

index 381aa70bedb1a94f64520dc55fc78738c8021994..7be0789f35bc2bf92013a2571fefb22c07eb7430 100644 (file)
 
 #include "../../udev/udev.h"
 
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
-#endif
-
 static int debug;
 
 static void log_fn(struct udev *udev, int priority,