Revise the code for compiling this using gcc 4.6
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 21 Dec 2012 11:20:21 +0000 (20:20 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 21 Dec 2012 11:20:54 +0000 (20:20 +0900)
Change-Id: I5265f94ec2bfb4ba68eb0933396d9023e52c4695

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

index 09ea9f4..020d0ef 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.3.6
+Version: 0.3.7
 Release: 1
 Group: main/util
 License: Flora License
index 483a6f9..6d3dc9b 100644 (file)
@@ -817,7 +817,7 @@ static struct router *create_router(const char *sock, int handle, struct method
  *
  * Before call this, every thread which uses this router object must has to be terminated.
  */
-static inline int destroy_router(struct router *router)
+static inline __attribute__((always_inline)) int destroy_router(struct router *router)
 {
        int handle;
        int ret;