Remove last trailing comma
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 3 Jul 2013 23:38:28 +0000 (08:38 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 3 Jul 2013 23:38:28 +0000 (08:38 +0900)
Change-Id: I672c28932e275e6d28fe158c1c2c18ee18172cc1

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

index 96d70cd..a379850 100644 (file)
@@ -24,7 +24,7 @@ extern "C" {
 
 enum com_core_event_type {
        CONNECTOR_CONNECTED,
-       CONNECTOR_DISCONNECTED,
+       CONNECTOR_DISCONNECTED
 };
 
 extern int com_core_server_create(const char *addr, int is_sync, int (*service_cb)(int fd, void *data), void *data);
index d253869..cbe6905 100644 (file)
@@ -25,7 +25,7 @@ extern "C" {
 enum com_core_route_event_type {
        COM_CORE_ROUTE_CONNECTED,
        COM_CORE_ROUTE_DISCONNECTED,
-       COM_CORE_ROUTE_ERROR,
+       COM_CORE_ROUTE_ERROR
 };
 
 extern int com_core_packet_router_add_route(int handle, unsigned long address, int to);
index 77ecbaf..19cad70 100644 (file)
@@ -28,14 +28,14 @@ enum packet_type {
        PACKET_REQ,
        PACKET_ACK,
        PACKET_REQ_NOACK,
-       PACKET_ERROR,
+       PACKET_ERROR
 };
 
 enum packet_flag {
        PACKET_FLAG_NOROUTE = 0x00, /*!< If possible, route this packet without care of the server */
        PACKET_FLAG_ROUTE = 0x01, /*!< This packet must has to be cared by the server */
 
-       PACKET_FLAG_ERROR = 0xFF, /*!< Invalid flag */
+       PACKET_FLAG_ERROR = 0xFF /*!< Invalid flag */
 };
 
 #define PACKET_VERSION 2
index 619e495..73736ad 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.4.2
+Version: 0.4.3
 Release: 1
 Group: HomeTF/Framework
 License: Apache License
index 8002eca..056e0f2 100644 (file)
@@ -60,7 +60,7 @@ struct recv_ctx {
                RECV_STATE_INIT,
                RECV_STATE_HEADER,
                RECV_STATE_BODY,
-               RECV_STATE_READY,
+               RECV_STATE_READY
        } state;
 
        struct packet *packet;
index 4869cc9..a50ae71 100644 (file)
@@ -83,7 +83,7 @@ struct recv_ctx {
                RECV_STATE_INIT,
                RECV_STATE_HEADER,
                RECV_STATE_BODY,
-               RECV_STATE_READY,
+               RECV_STATE_READY
        } state;
        int handle;
        int offset;
index 37973b7..b634499 100644 (file)
@@ -49,7 +49,7 @@ struct data {
 struct packet {
        enum {
                VALID = 0xbeefbeef,
-               INVALID = 0xdeaddead,
+               INVALID = 0xdeaddead
        } state;
        int refcnt;
        struct data *data;