summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-07-04 08:38:28 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-07-04 08:38:28 +0900
commit3ba23725043277a3eae1dbb058b80c394c19639e (patch)
tree821611a084bcd2e9c0814a8dfe120dbb78249412
parent7a4800c7368d0749a0ee72cda345afa48be49c0a (diff)
downloadcom-core-3ba23725043277a3eae1dbb058b80c394c19639e.tar.gz
com-core-3ba23725043277a3eae1dbb058b80c394c19639e.tar.bz2
com-core-3ba23725043277a3eae1dbb058b80c394c19639e.zip
Remove last trailing comma
Change-Id: I672c28932e275e6d28fe158c1c2c18ee18172cc1
-rw-r--r--include/com-core.h2
-rw-r--r--include/com-core_packet-router.h2
-rw-r--r--include/packet.h4
-rw-r--r--packaging/libcom-core.spec2
-rw-r--r--src/com-core_packet-router.c2
-rw-r--r--src/com-core_packet.c2
-rw-r--r--src/packet.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/include/com-core.h b/include/com-core.h
index 96d70cd..a379850 100644
--- a/include/com-core.h
+++ b/include/com-core.h
@@ -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);
diff --git a/include/com-core_packet-router.h b/include/com-core_packet-router.h
index d253869..cbe6905 100644
--- a/include/com-core_packet-router.h
+++ b/include/com-core_packet-router.h
@@ -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);
diff --git a/include/packet.h b/include/packet.h
index 77ecbaf..19cad70 100644
--- a/include/packet.h
+++ b/include/packet.h
@@ -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
diff --git a/packaging/libcom-core.spec b/packaging/libcom-core.spec
index 619e495..73736ad 100644
--- a/packaging/libcom-core.spec
+++ b/packaging/libcom-core.spec
@@ -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
diff --git a/src/com-core_packet-router.c b/src/com-core_packet-router.c
index 8002eca..056e0f2 100644
--- a/src/com-core_packet-router.c
+++ b/src/com-core_packet-router.c
@@ -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;
diff --git a/src/com-core_packet.c b/src/com-core_packet.c
index 4869cc9..a50ae71 100644
--- a/src/com-core_packet.c
+++ b/src/com-core_packet.c
@@ -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;
diff --git a/src/packet.c b/src/packet.c
index 37973b7..b634499 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -49,7 +49,7 @@ struct data {
struct packet {
enum {
VALID = 0xbeefbeef,
- INVALID = 0xdeaddead,
+ INVALID = 0xdeaddead
} state;
int refcnt;
struct data *data;