e_info_server : move the definition of wl_object and wl_resource to .c file from... 75/70675/1
authorSung-Jin Park <sj76.park@samsung.com>
Fri, 20 May 2016 05:56:45 +0000 (14:56 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Fri, 20 May 2016 05:56:45 +0000 (14:56 +0900)
Change-Id: Ia8ec141a630f60425a9832c8566bc1b23b4a1572
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_info_server.c
src/bin/e_info_server.h

index 89f06a69246088ab9d46a751b8f0c58398fbc544..602d0d70db798da6a45c387726c794efb2f1843c 100644 (file)
@@ -9,6 +9,24 @@
 #include <wayland-tbm-server.h>
 #include "e_comp_wl.h"
 #include "e_info_protocol.h"
+
+struct wl_object
+{
+   const struct wl_interface *interface;
+   const void *implementation;
+   uint32_t id;
+};
+
+struct wl_resource
+{
+   struct wl_object object;
+   wl_resource_destroy_func_t destroy;
+   struct wl_list link;
+   struct wl_signal destroy_signal;
+   struct wl_client *client;
+   void *data;
+};
+
 void wl_map_for_each(struct wl_map *map, void *func, void *data);
 #endif
 #ifdef HAVE_HWC
index 7cfea5dba6772a8362e94a4b693702bc35682e9c..a3545ad4b0e0108b43eae28422072eab3b8be042 100644 (file)
@@ -25,25 +25,6 @@ EINTERN void e_info_server_dump_client(E_Client *ec, char *fname);
 #define WL_HIDE_DEPRECATED
 #include <wayland-server.h>
 
-#ifdef WL_HIDE_DEPRECATED
-struct wl_object
-{
-   const struct wl_interface *interface;
-   const void *implementation;
-   uint32_t id;
-};
-
-struct wl_resource
-{
-   struct wl_object object;
-   wl_resource_destroy_func_t destroy;
-   struct wl_list link;
-   struct wl_signal destroy_signal;
-   struct wl_client *client;
-   void *data;
-};
-#endif
-
 /* wayland private MACRO and structure definitions */
 #ifndef WL_CLOSURE_MAX_ARGS
 #define WL_CLOSURE_MAX_ARGS 20