Fix build error
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 9 Sep 2013 10:33:31 +0000 (19:33 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 9 Sep 2013 10:33:31 +0000 (19:33 +0900)
Change-Id: I14c4d05d37c792834ce73aa6a3df2c972a488650

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;