sensord: modify the macro for avoiding build-break 04/34304/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150123.090005 accepted/tizen/mobile/20150123.091457 accepted/tizen/tv/20150123.090942 accepted/tizen/wearable/20150123.091138 submit/tizen/20150123.055621
authorKibak Yoon <kibak.yoon@samsung.com>
Fri, 23 Jan 2015 05:47:54 +0000 (14:47 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Fri, 23 Jan 2015 05:47:54 +0000 (14:47 +0900)
In both of CAPI and Internal API, declaration of sensor_option_e is duplicated
and the macro should be changed by proper name

Change-Id: I9b19791b44247d9684dba05845131ecbc41f3917
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
src/shared/sensor_common.h

index 6cd4bf1..113e924 100755 (executable)
@@ -140,7 +140,7 @@ enum sensor_accuracy_t {
 /*
  *     To prevent naming confliction as using same enums as sensor CAPI use
  */
-#ifndef __SENSORS_H__
+#ifndef __SENSOR_H__
 enum sensor_option_t {
        SENSOR_OPTION_DEFAULT = 0,
        SENSOR_OPTION_ON_IN_SCREEN_OFF = 1,