Add define check for __SENSOR_INTERNAL_H__ 43/269343/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 13 Jan 2022 03:55:39 +0000 (12:55 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 13 Jan 2022 03:55:39 +0000 (12:55 +0900)
Change-Id: I6d0e74a3e73ea4be8743ff5fd93363564bc7c1c2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
include/sensor-internal.h

index fa12411..04ef69a 100644 (file)
@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 
+#ifndef __SENSOR_INTERNAL_H__
+#define __SENSOR_INTERNAL_H__
+
 #include <sensor.h>
 #include <hal-sensor-types.h>
 
@@ -55,3 +58,5 @@ int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_e attr, i
 #ifdef __cplusplus
 }
 #endif
+
+#endif /* __SENSOR_INTERNAL_H__ */