Fix build error
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 20 Aug 2013 03:31:33 +0000 (12:31 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 20 Aug 2013 03:31:33 +0000 (12:31 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I8b8cc17a189e72b0009ec40fbd3ef3adbe13314e

packaging/libcom-core.spec
src/com-core_packet-router.c

index 4bacf0a..6c25bf3 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.5.1
+Version: 0.5.2
 Release: 1
 Group: HomeTF/Framework
 License: Apache License
index 1f2adb7..b3f7b1e 100644 (file)
@@ -140,11 +140,11 @@ static struct info {
        .error_list = NULL,
 };
 
-static inline struct packet *get_recv_packet(struct router *router, int *handle, pid_t *pid);
-static inline int put_recv_packet(struct router *router, int handle, struct packet *packet, pid_t pid);
+static struct packet *get_recv_packet(struct router *router, int *handle, pid_t *pid);
+static int put_recv_packet(struct router *router, int handle, struct packet *packet, pid_t pid);
 
-static inline struct packet *get_send_packet(struct router *router, int *handle);
-static inline int put_send_packet(struct router *router, int handle, struct packet *packet);
+static struct packet *get_send_packet(struct router *router, int *handle);
+static int put_send_packet(struct router *router, int handle, struct packet *packet);
 
 /*!
  * \note
@@ -964,7 +964,7 @@ static int put_send_packet(struct router *router, int handle, struct packet *pac
  * \NOTE
  * Running thread: Client / Server leaf thread
  */
-static inline int put_recv_packet(struct router *router, int handle, struct packet *packet, pid_t pid)
+static int put_recv_packet(struct router *router, int handle, struct packet *packet, pid_t pid)
 {
        /*!
         * If a packet is NULL, the connection is terminated
@@ -1003,7 +1003,7 @@ static inline int put_recv_packet(struct router *router, int handle, struct pack
  * \NOTE
  * Running thread: Send thread
  */
-static inline struct packet *get_send_packet(struct router *router, int *handle)
+static struct packet *get_send_packet(struct router *router, int *handle)
 {
        struct packet *packet = NULL;
        struct dlist *l;
@@ -1032,7 +1032,7 @@ static inline struct packet *get_send_packet(struct router *router, int *handle)
  * \NOTE
  * Running thread: Main thread
  */
-static inline struct packet *get_recv_packet(struct router *router, int *handle, pid_t *pid)
+static struct packet *get_recv_packet(struct router *router, int *handle, pid_t *pid)
 {
        struct packet *packet = NULL;
        struct dlist *l;