summaryrefslogtreecommitdiff
path: root/src/wayland-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland-util.h')
-rw-r--r--src/wayland-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h
index f54077e..7c8f563 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -39,8 +39,6 @@ extern "C" {
#define WL_EXPORT
#endif
-#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
-
#define container_of(ptr, type, member) ({ \
const __typeof__( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})