apply coding convention 97/64397/2 accepted/tizen/common/20160401.075705 accepted/tizen/ivi/20160405.011429 accepted/tizen/mobile/20160405.011344 accepted/tizen/tv/20160405.011403 accepted/tizen/wearable/20160405.011412 submit/tizen/20160401.043206 submit/tizen/20160401.044139
authorHyihong Chae <hh.chae@samsung.com>
Fri, 1 Apr 2016 03:07:04 +0000 (12:07 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Fri, 1 Apr 2016 04:23:28 +0000 (21:23 -0700)
Change-Id: I682419f337aa02232c46ee2c0914070ae3ddbe29
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
include/mtp.h
include/mtp_debug.h
include/mtp_internal.h
packaging/capi-network-mtp.spec

index 47aa322..3574d56 100755 (executable)
@@ -172,7 +172,7 @@ typedef enum {
  * @see mtp_set_mtp_event_cb()
  * @see mtp_unset_mtp_event_cb()
  */
-typedef void (* mtp_event_cb)(mtp_event_e event, int event_parameter, void *user_data);
+typedef void (*mtp_event_cb)(mtp_event_e event, int event_parameter, void *user_data);
 
 /**
  * @brief Initializes for using MTP.
index a95ce04..dfe98e1 100755 (executable)
 #define COLOR_END   "\033[0;m"
 
 #define _ERR(fmt, ...) \
-       do \
-       { \
+       do { \
                LOGE(COLOR_RED fmt COLOR_END, ##__VA_ARGS__); \
-       } \
-       while (0)
+       } while (0)
 
 #define _INFO(fmt, ...) \
-       do \
-       { \
+       do { \
                LOGI(COLOR_GREEN fmt COLOR_END, ##__VA_ARGS__); \
-       } \
-       while (0)
+       } while (0)
 
 #define _WARN(fmt, ...) \
-       do \
-       { \
+       do { \
                LOGI(COLOR_BROWN fmt COLOR_END, ##__VA_ARGS__); \
-       } \
-       while (0)
+       } while (0)
 
 #define _DBG(fmt, ...) \
-       do \
-       { \
+       do { \
                LOGD(fmt, ##__VA_ARGS__); \
-       } \
-       while (0)
+       } while (0)
 
 #define _BEGIN() \
-       do \
-       { \
+       do { \
                LOGD(COLOR_BLUE "BEGIN >>>>" COLOR_END); \
-       } \
-       while (0)
+       } while (0)
 
 #define _END() \
-       do \
-       { \
+       do { \
                LOGD(COLOR_BLUE "END <<<<" COLOR_END); \
-       } \
-       while (0)
+       } while (0)
 
 #define cond_expr_ret(expr, val) \
-       do {\
+       do { \
                if (expr) { \
                        _ERR("[precond fail] expr : %s, ret : %d\n", #expr, val); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define cond_ret(val) \
-       do {\
-               if(val) { \
+       do { \
+               if (val) { \
                        _ERR("[precond fail] ret : %d\n", val); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define PRT(format, args...) printf("%s:%d() "format, __FUNCTION__, __LINE__, ##args)
 #define TC_PRT(format, args...) PRT(format"\n", ##args)
index 655513b..822dc21 100755 (executable)
@@ -42,11 +42,11 @@ typedef struct _mtp_object_info {
        int AssociationType;
        int AssociationDesc;
        int SequenceNumber;
-       char    *Filename;
+       char *Filename;
        int     CaptureDate;
        int     ModificationDate;
-       char    *Keywords;
-}mtp_object_info;
+       char *Keywords;
+} mtp_object_info;
 
 /* internal api */
 int mtp_objectinfo_get_object_info(int mtp_device, int object_handle, mtp_object_info **object_info);
index 1e721a2..64bf1d0 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-network-mtp
 Summary:    A MTP library in Native API
-Version:    1.3.12
+Version:    1.3.13
 Release:    1
 Group:      Network & Connectivity/Other
 License:    Apache-2.0