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

19 files changed:
include/buffer_handler.h
include/client_life.h
include/event.h
include/instance.h
include/package.h
include/pkgmgr.h
include/service_common.h
include/slave_life.h
include/xmonitor.h
packaging/data-provider-master.spec
src/buffer_handler.c
src/conf.c
src/group.c
src/io.c
src/parser.c
src/script_handler.c
src/server.c
src/service_common.c
src/util.c

index 6a70270..c2084cd 100644 (file)
@@ -21,7 +21,7 @@ enum buffer_type { /*!< Must have to be sync with libprovider, liblivebox-viewer
        BUFFER_TYPE_FILE,
        BUFFER_TYPE_SHM,
        BUFFER_TYPE_PIXMAP,
-       BUFFER_TYPE_ERROR,
+       BUFFER_TYPE_ERROR
 };
 
 /*!
index 66caf9a..83e1899 100644 (file)
 
 enum client_event {
        CLIENT_EVENT_ACTIVATE,
-       CLIENT_EVENT_DEACTIVATE,
+       CLIENT_EVENT_DEACTIVATE
 };
 
 enum client_global_event {
        CLIENT_GLOBAL_EVENT_CREATE,
-       CLIENT_GLOBAL_EVENT_DESTROY,
+       CLIENT_GLOBAL_EVENT_DESTROY
 };
 
 struct inst_info;
index 2bae5a8..3d095b2 100644 (file)
@@ -23,7 +23,7 @@ struct event_data {
 enum event_state {
        EVENT_STATE_ACTIVATE,
        EVENT_STATE_ACTIVATED,
-       EVENT_STATE_DEACTIVATE,
+       EVENT_STATE_DEACTIVATE
 };
 
 extern int event_init(void);
index 409aed8..77a6971 100644 (file)
@@ -91,7 +91,7 @@
 
 enum instance_event {
        INSTANCE_EVENT_DESTROY,
-       INSTNACE_EVENT_UNKNOWN,
+       INSTNACE_EVENT_UNKNOWN
 };
 
 enum instance_state {
@@ -106,7 +106,7 @@ enum instance_state {
        /*!
         */
        INST_DESTROYED, /*!< Instance is unloaded and also it requires to be deleted from the master */
-       INST_REQUEST_TO_DESTROY, /*!< Sent a request to a slave, when the master receives deleted event, the master will delete this */
+       INST_REQUEST_TO_DESTROY /*!< Sent a request to a slave, when the master receives deleted event, the master will delete this */
 };
 
 enum livebox_visible_state { /*!< Must be sync'd with livebox-viewer */
@@ -115,7 +115,7 @@ enum livebox_visible_state { /*!< Must be sync'd with livebox-viewer */
 
        LB_HIDE_WITH_PAUSE = 0x02, /*!< Livebix is hide, it needs to be paused (with freezed update timer) */
 
-       LB_VISIBLE_ERROR = 0xFFFFFFFF, /* To enlarge the size of this enumeration type */
+       LB_VISIBLE_ERROR = 0xFFFFFFFF /* To enlarge the size of this enumeration type */
 };
 
 #define IS_PD  1
index 330628f..71d911d 100644 (file)
@@ -19,19 +19,19 @@ enum lb_type {
        LB_TYPE_SCRIPT,
        LB_TYPE_FILE,
        LB_TYPE_TEXT,
-       LB_TYPE_BUFFER,
+       LB_TYPE_BUFFER
 };
 
 enum pd_type {
        PD_TYPE_NONE = 0x0,
        PD_TYPE_SCRIPT,
        PD_TYPE_TEXT,
-       PD_TYPE_BUFFER,
+       PD_TYPE_BUFFER
 };
 
 enum alter_type {
        ALTER_CREATE,
-       ALTER_DESTROY,
+       ALTER_DESTROY
 };
 
 struct pkg_info;
index dfc8e33..e4fe4c2 100644 (file)
@@ -19,7 +19,7 @@ enum pkgmgr_event_type {
        PKGMGR_EVENT_INSTALL,
        PKGMGR_EVENT_UPDATE,
        PKGMGR_EVENT_UNINSTALL,
-       PKGMGR_EVENT_RECOVER,
+       PKGMGR_EVENT_RECOVER
 };
 
 enum pkgmgr_status {
@@ -27,7 +27,7 @@ enum pkgmgr_status {
        PKGMGR_STATUS_PROCESSING,
        PKGMGR_STATUS_COMMAND,
        PKGMGR_STATUS_END,
-       PKGMGR_STATUS_ERROR,
+       PKGMGR_STATUS_ERROR
 };
 
 extern int pkgmgr_init(void);
index eaa06ea..9cc0885 100644 (file)
@@ -16,7 +16,7 @@
 enum tcb_type {
        TCB_CLIENT_TYPE_APP     = 0x00,
        TCB_CLIENT_TYPE_SERVICE = 0x01,
-       TCB_CLIENT_TYPE_UNKNOWN = 0xff,
+       TCB_CLIENT_TYPE_UNKNOWN = 0xff
 };
 
 struct tcb;
index d294520..5f7fd35 100644 (file)
@@ -29,7 +29,7 @@ enum slave_event {
        SLAVE_EVENT_PAUSE,
        SLAVE_EVENT_RESUME,
 
-       SLAVE_NEED_TO_REACTIVATE,
+       SLAVE_NEED_TO_REACTIVATE
 };
 
 enum slave_state {
@@ -64,7 +64,7 @@ enum slave_state {
        SLAVE_PAUSED,
        SLAVE_RESUMED,
 
-       SLAVE_ERROR = 0xFF, /* Explicitly define the size of this enum type */
+       SLAVE_ERROR = 0xFF /* Explicitly define the size of this enum type */
 };
 
 extern struct slave_node *slave_ref(struct slave_node *slave);
index 46d4e51..3e01722 100644 (file)
@@ -18,7 +18,7 @@ enum xmonitor_event {
        XMONITOR_PAUSED,
        XMONITOR_RESUMED,
 
-       XMONITOR_ERROR = 0xFFFFFFFF, /* To specify the size of this enum */
+       XMONITOR_ERROR = 0xFFFFFFFF /* To specify the size of this enum */
 };
 
 extern int xmonitor_init(void);
index a442560..6e6a363 100644 (file)
@@ -1,6 +1,6 @@
 Name: data-provider-master
 Summary: Master service provider for liveboxes.
-Version: 0.24.16
+Version: 0.24.17
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
index 3db618c..7d67b6a 100644 (file)
@@ -56,7 +56,7 @@
 struct buffer {
        enum {
                CREATED = 0x00beef00,
-               DESTROYED = 0x00dead00,
+               DESTROYED = 0x00dead00
        } state;
        enum buffer_type type;
        int refcnt;
index 31c33a0..5ff4739 100644 (file)
@@ -322,7 +322,7 @@ HAPI int conf_loader(void)
                VALUE,
                ERROR,
                COMMENT,
-               END,
+               END
        } state;
        int ch_idx;
        int token_idx;
index 02851b7..e8650a8 100644 (file)
@@ -492,7 +492,7 @@ HAPI int group_add_livebox(const char *group, const char *pkgname)
                CONTEXT_ITEM,
                CONTEXT_OPTION_KEY,
                CONTEXT_OPTION_VALUE,
-               CONTEXT_ERROR = 0xFFFFFFFF,
+               CONTEXT_ERROR = 0xFFFFFFFF
        } state;
 
        state = CLUSTER;
index db03937..1d6ee69 100644 (file)
--- a/src/io.c
+++ b/src/io.c
@@ -59,7 +59,7 @@ static inline int load_abi_table(void)
                GROUP = 0x1,
                TAG = 0x02,
                VALUE = 0x03,
-               ERROR = 0x05,
+               ERROR = 0x05
        } state;
        enum {
                PKGNAME = 0x0,
index babe376..dab3536 100644 (file)
@@ -203,7 +203,7 @@ static inline int parse_size(const char *buffer, unsigned int *size)
                HEIGHT,
                ERROR,
                STOP,
-               END,
+               END
        } state;
 
        *size = 0;
@@ -529,7 +529,7 @@ HAPI struct parser *parser_load(const char *pkgname)
                VALUE,
                ERROR,
                COMMENT,
-               END,
+               END
        } state;
        int ch_idx;
        int token_idx;
index 76ac35c..91a6285 100644 (file)
@@ -835,7 +835,7 @@ HAPI int script_handler_parse_desc(const char *pkgname, const char *id, const ch
                VALUE_FILE = 0x03,
                VALUE_OPTION = 0x04,
                VALUE_ID = 0x05,
-               VALUE_TARGET = 0x06,
+               VALUE_TARGET = 0x06
        };
        const char *field_name[] = {
                "type",
index 1934462..e0a4ea8 100644 (file)
@@ -68,7 +68,7 @@ static struct info {
 enum target_type {
        TYPE_LB,
        TYPE_PD,
-       TYPE_ERROR,
+       TYPE_ERROR
 };
 
 struct access_cbdata {
index b9116a4..27ab295 100644 (file)
@@ -40,7 +40,7 @@ int errno;
 
 struct service_event_item {
        enum {
-               SERVICE_EVENT_TIMER,
+               SERVICE_EVENT_TIMER
        } type;
 
        union {
index 9b34132..60792ce 100644 (file)
@@ -240,7 +240,7 @@ HAPI char *util_replace_string(const char *src, const char *pattern, const char
                STATE_START,
                STATE_FIND,
                STATE_CHECK,
-               STATE_END,
+               STATE_END
        } state;
 
        if (!src || !pattern)