OSDN Git Service

android/ipc: Make struct service_handler private
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 20 May 2014 09:31:47 +0000 (11:31 +0200)
committerSzymon Janc <szymon.janc@tieto.com>
Thu, 12 Jun 2014 11:04:30 +0000 (13:04 +0200)
android/ipc.c
android/ipc.h

index 8cd34ea..fc58a1c 100644 (file)
 #include "ipc.h"
 #include "src/log.h"
 
+struct service_handler {
+       const struct ipc_handler *handler;
+       uint8_t size;
+};
+
 struct ipc {
        struct service_handler *services;
        int service_max;
index cc4e92d..e97f0e6 100644 (file)
@@ -27,11 +27,6 @@ struct ipc_handler {
        size_t data_len;
 };
 
-struct service_handler {
-       const struct ipc_handler *handler;
-       uint8_t size;
-};
-
 struct ipc;
 
 typedef void (*ipc_disconnect_cb) (void *data);