diff options
author | Jon Cruz <jonc@osg.samsung.com> | 2015-06-15 15:37:08 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-06-15 17:11:45 -0700 |
commit | 35b2eaa989e4960501943c0753e2d5a3e687db92 (patch) | |
tree | d8f0f0b2304e22d18f1aae4496c8bb803188f438 /xwayland | |
parent | 4678bab13ce29b02363abfa40fd78cf94e107e8b (diff) | |
download | weston-35b2eaa989e4960501943c0753e2d5a3e687db92.tar.gz weston-35b2eaa989e4960501943c0753e2d5a3e687db92.tar.bz2 weston-35b2eaa989e4960501943c0753e2d5a3e687db92.zip |
Moved helper macro to a discrete include file.
To help reduce code duplication and also 'kitchen-sink' includes
the ARRAY_LENGTH macro was moved to a stand-alone file and
referenced from the sources consuming it. Other macros will be
added in subsequent passes.
Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/selection.c | 1 | ||||
-rw-r--r-- | xwayland/window-manager.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/selection.c b/xwayland/selection.c index 82771c4d..572a0b59 100644 --- a/xwayland/selection.c +++ b/xwayland/selection.c @@ -31,6 +31,7 @@ #include <fcntl.h> #include "xwayland.h" +#include "shared/helpers.h" static int writable_callback(int fd, uint32_t mask, void *data) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 9b4e0886..c3a57c19 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -42,6 +42,7 @@ #include "cairo-util.h" #include "compositor.h" #include "hash.h" +#include "shared/helpers.h" struct wm_size_hints { uint32_t flags; |