sensor: capi: fix coding rule violations 52/149452/1 tizen_4.0_tv accepted/tizen/4.0/unified/20170913.153415 submit/tizen/20170912.122922 submit/tizen_4.0/20170912.122922 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.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 08:46:57 +0000 (17:46 +0900)
Change-Id: Iace7015137fbdd7d6a30f4dae114420f807ebc23
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
include/sensor.h

index 84120c2ba175f9d613fc1fa8b64f76aa274e37a2..73fffea535388d114fea75c1e53a00479eee1f7a 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 */