Revise the code to apply the gcc 4.6
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 21 Dec 2012 03:27:53 +0000 (12:27 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 21 Dec 2012 03:27:53 +0000 (12:27 +0900)
Change-Id: Ia0619e2eb72c037f69a92a47592c03aeed404fe5

packaging/libcom-core.spec
src/packet.c

index d289e57..09ea9f4 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.3.5
+Version: 0.3.6
 Release: 1
 Group: main/util
 License: Flora License
index 4412cc4..da564d5 100644 (file)
@@ -185,7 +185,7 @@ EAPI const void * const packet_data(const struct packet *packet)
        return packet->data;
 }
 
-static inline struct data *check_and_expand_packet(struct data *packet, int *payload_size)
+static inline __attribute__((always_inline)) struct data *check_and_expand_packet(struct data *packet, int *payload_size)
 {
        struct data *new_packet;