summaryrefslogtreecommitdiff
path: root/ivi-shell
diff options
context:
space:
mode:
authorJon Cruz <jonc@osg.samsung.com>2015-06-15 15:37:10 -0700
committerBryce Harrington <bryce@osg.samsung.com>2015-06-15 17:11:58 -0700
commit867d50eea7fc8be4e286ae751b75dcb4f27df99e (patch)
tree7e2fcbb6d60eb8fe63893df709b72a88bedfcee5 /ivi-shell
parentd618f688d53e1df0ac31a275ae8541dc56f283ed (diff)
Unified multiple definitions of container_of() macro.
Removed duplicate definitions of the container_of() macro and refactored sources to use the single implementation. 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 'ivi-shell')
-rw-r--r--ivi-shell/hmi-controller.c1
-rw-r--r--ivi-shell/input-panel-ivi.c1
-rw-r--r--ivi-shell/ivi-layout.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c
index 34a7b24b..eae346af 100644
--- a/ivi-shell/hmi-controller.c
+++ b/ivi-shell/hmi-controller.c
@@ -60,6 +60,7 @@
#include "ivi-layout-export.h"
#include "ivi-hmi-controller-server-protocol.h"
+#include "shared/helpers.h"
/*****************************************************************************
* structure, globals
diff --git a/ivi-shell/input-panel-ivi.c b/ivi-shell/input-panel-ivi.c
index abe7a1d0..c624ef37 100644
--- a/ivi-shell/input-panel-ivi.c
+++ b/ivi-shell/input-panel-ivi.c
@@ -34,6 +34,7 @@
#include "ivi-shell.h"
#include "input-method-server-protocol.h"
#include "ivi-layout-private.h"
+#include "shared/helpers.h"
struct input_panel_surface {
struct wl_resource *resource;
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 61868215..4aed4c87 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -63,6 +63,7 @@
#include "ivi-layout-export.h"
#include "ivi-layout-private.h"
+#include "shared/helpers.h"
#include "shared/os-compatibility.h"
struct link_layer {