From: kibak.yoon Date: Tue, 12 Sep 2017 02:08:55 +0000 (+0900) Subject: sensor: capi: fix coding rule violations X-Git-Tag: accepted/tizen/5.5/unified/20191031.031707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2F5.5%2Funified%2F20191031.031707;p=platform%2Fcore%2Fapi%2Fsensor.git sensor: capi: fix coding rule violations Change-Id: Iace7015137fbdd7d6a30f4dae114420f807ebc23 Signed-off-by: kibak.yoon --- diff --git a/include/sensor.h b/include/sensor.h index 84120c2..73fffea 100644 --- a/include/sensor.h +++ b/include/sensor.h @@ -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 */