Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ivi-compositor: Use the helpers for array length
[src/agl-compositor.git]
/
src
/
ivi-compositor.h
diff --git
a/src/ivi-compositor.h
b/src/ivi-compositor.h
index
8631477
..
446390d
100644
(file)
--- a/
src/ivi-compositor.h
+++ b/
src/ivi-compositor.h
@@
-36,8
+36,6
@@
#include "agl-shell-server-protocol.h"
#include "agl-shell-server-protocol.h"
-#define ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0]))
-
struct desktop_client {
struct wl_resource *resource;
struct wl_list link; /* ivi_compositor::desktop_clients */
struct desktop_client {
struct wl_resource *resource;
struct wl_list link; /* ivi_compositor::desktop_clients */