summaryrefslogtreecommitdiff
path: root/extras/cdrom_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-21 12:40:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-21 12:40:47 +0200
commite02d738ee4da950e9228802ea52d9a6f0992c442 (patch)
tree009ad64b2f363839f1d7960e8e8ae75c97484e33 /extras/cdrom_id
parent69239210bee89c1745f2dd5f1e7cff4efd07e429 (diff)
cdrom_id: remove ARRAY_SIZE() declaration
Diffstat (limited to 'extras/cdrom_id')
-rw-r--r--extras/cdrom_id/cdrom_id.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c
index 381aa70bed..7be0789f35 100644
--- a/extras/cdrom_id/cdrom_id.c
+++ b/extras/cdrom_id/cdrom_id.c
@@ -39,10 +39,6 @@
#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,