summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJin Yoon <jinny.yoon@samsung.com>2017-07-14 10:24:55 +0900
committerJin Yoon <jinny.yoon@samsung.com>2017-07-14 10:24:55 +0900
commit210ec9ff273ae9542c51b4dfc17cfa4af96c08a5 (patch)
treed2062861940ca049b1ed6d7198693810f7030b3f
parent628d2774a1089e67799cb8664a54a21e6297809c (diff)
downloadposition-finder-server-210ec9ff273ae9542c51b4dfc17cfa4af96c08a5.tar.gz
position-finder-server-210ec9ff273ae9542c51b4dfc17cfa4af96c08a5.tar.bz2
position-finder-server-210ec9ff273ae9542c51b4dfc17cfa4af96c08a5.zip
Hide internal headers into resource_internal.h
Change-Id: I61b268517563d5e721be128f55b87ac9269c098d
-rw-r--r--inc/resource.h10
-rw-r--r--inc/resource_internal.h6
2 files changed, 6 insertions, 10 deletions
diff --git a/inc/resource.h b/inc/resource.h
index 68986dc..89fc1c8 100644
--- a/inc/resource.h
+++ b/inc/resource.h
@@ -25,20 +25,10 @@
#include <peripheral_io.h>
#include "resource_internal.h"
-
#include "resource/resource_illuminance_sensor.h"
-#include "resource/resource_illuminance_sensor_internal.h"
-
#include "resource/resource_infrared_motion_sensor.h"
-#include "resource/resource_infrared_motion_sensor_internal.h"
-
#include "resource/resource_infrared_obstacle_avoidance_sensor.h"
-#include "resource/resource_infrared_obstacle_avoidance_sensor_internal.h"
-
#include "resource/resource_touch_sensor.h"
-#include "resource/resource_touch_sensor_internal.h"
-
#include "resource/resource_ultrasonic_sensor.h"
-#include "resource/resource_ultrasonic_sensor_internal.h"
#endif /* __POSITION_FINDER_RESOURCE_H__ */
diff --git a/inc/resource_internal.h b/inc/resource_internal.h
index ae6746b..786266e 100644
--- a/inc/resource_internal.h
+++ b/inc/resource_internal.h
@@ -24,6 +24,12 @@
#include <peripheral_io.h>
+#include "resource/resource_illuminance_sensor_internal.h"
+#include "resource/resource_infrared_motion_sensor_internal.h"
+#include "resource/resource_infrared_obstacle_avoidance_sensor_internal.h"
+#include "resource/resource_touch_sensor_internal.h"
+#include "resource/resource_ultrasonic_sensor_internal.h"
+
#define PIN_MAX 40
struct _resource_s {