sensor: capi: fix coding rule violations 20/149220/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.0/unified/20181102.014645 accepted/tizen/5.5/unified/20191031.031707 accepted/tizen/5.5/unified/mobile/hotfix/20201027.070028 accepted/tizen/unified/20170913.071907 submit/tizen/20170912.122717 submit/tizen_5.0/20181101.000002 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 12 Sep 2017 02:08:55 +0000 (11:08 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Tue, 12 Sep 2017 02:08:55 +0000 (11:08 +0900)
Change-Id: Iace7015137fbdd7d6a30f4dae114420f807ebc23
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
include/sensor.h

index 84120c2..73fffea 100644 (file)
@@ -46,8 +46,7 @@ typedef void* sensor_h;
  * @brief   Enumeration for errors.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  */
-typedef enum
-{
+typedef enum {
        SENSOR_ERROR_NONE                  = TIZEN_ERROR_NONE,                 /**< Successful */
        SENSOR_ERROR_IO_ERROR              = TIZEN_ERROR_IO_ERROR,             /**< I/O error */
        SENSOR_ERROR_INVALID_PARAMETER     = TIZEN_ERROR_INVALID_PARAMETER,    /**< Invalid parameter */
@@ -69,8 +68,7 @@ typedef enum
  *          nearby objects in front of the sensor as one of the followings.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  */
-typedef enum
-{
+typedef enum {
        SENSOR_PROXIMITY_NEAR = 0,    /**< An object is placed near the proximity sensor */
        SENSOR_PROXIMITY_FAR = 5,     /**< No object is placed near the proximity sensor */
 } sensor_proximity_e;
@@ -82,8 +80,7 @@ typedef enum
  *          pedestrian state as one of the followings.
  * @since_tizen 3.0
  */
-typedef enum
-{
+typedef enum {
        SENSOR_PEDOMETER_STATE_UNKNOWN = -1, /**< Uncertain */
        SENSOR_PEDOMETER_STATE_STOP,         /**< The user is not moving */
        SENSOR_PEDOMETER_STATE_WALK,         /**< The user is walking */
@@ -97,8 +94,7 @@ typedef enum
  *          sleep state as one of the followings.
  * @since_tizen 3.0
  */
-typedef enum
-{
+typedef enum {
        SENSOR_SLEEP_STATE_UNKNOWN = -1, /**< Uncertain */
        SENSOR_SLEEP_STATE_WAKE,         /**< The user is awake */
        SENSOR_SLEEP_STATE_SLEEP,        /**< The user is asleep */