including: remove unnecessary header files 58/160258/2
authorSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 06:52:34 +0000 (15:52 +0900)
committerSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 07:20:38 +0000 (16:20 +0900)
Change-Id: Ice8e09e5654bbc2e94d5c41b5e1d5d86e5b78239
Signed-off-by: Segwon <segwon.han@samsung.com>
include/gdbus/peripheral_gdbus_common.h
include/interface/peripheral_interface_common.h
include/peripheral_common.h
src/peripheral_gpio.c
src/peripheral_i2c.c
src/peripheral_pwm.c
src/peripheral_spi.c
src/peripheral_uart.c

index ed8c3977ad8cfcde3a173960d91585f8dff83741..6885a618ad36861b6a38acf2323a5ff321103b19 100644 (file)
@@ -17,7 +17,6 @@
 #ifndef __PERIPHERAL_GDBUS_COMMON_H__
 #define __PERIPHERAL_GDBUS_COMMON_H__
 
-#include <gio/gio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <gio/gunixfdlist.h>
index f0bd657348ac06b4e45f4d9650404986e8769669..8cb2ed80d16713419ae104d477d265bfb9a24d1e 100644 (file)
@@ -19,9 +19,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <fcntl.h>
 #include <unistd.h>
 
 #include "peripheral_io.h"
index 19352be321290ddc90583bba59e63c74e2ec963f..c5702d3d7a845c48d0ed21bb63897535f15a3498 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 #ifndef __PERIPHERAL_COMMON_H__
 #define __PERIPHERAL_COMMON_H__
 
-#include <unistd.h>
 #include <dlog.h>
 
 #undef LOG_TAG
index 06806ec20444ae9ceffe1bc9f6e3bc9369f61158..5992d16198bb3cd4e2af86c9aa898ce0d1640191 100644 (file)
  * limitations under the License.
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <assert.h>
 #include <system_info.h>
-#include <glib.h>
 
 #include "peripheral_io.h"
 #include "peripheral_gdbus_gpio.h"
index 89c1674efe25f4f1822caa145d482eeb525dd439..c61374ba902bf71335f4eddee45ecc85fec3796b 100644 (file)
  * limitations under the License.
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <assert.h>
 #include <system_info.h>
 
 #include "peripheral_io.h"
index c671ff45c9ddec2a113e4c404ec6225a6868955a..74f807a8272a3857201812247b105db0d1dd2ebe 100644 (file)
  * limitations under the License.
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <assert.h>
 #include <system_info.h>
 
 #include "peripheral_io.h"
index 0a9e95e213deb573764eec82794a185027e66aa3..61d3b793600949ba04746914f5de242fd2a9f6fd 100644 (file)
  * limitations under the License.
  */
 
-#include "peripheral_io.h"
-
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <system_info.h>
 
 #include "peripheral_io.h"
index 0d67c989a4353fa491f3911ab3c5a97ceec370ee..d63c100b998c98547a2ad8f4dbd3959653f598e1 100644 (file)
  * limitations under the License.
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <assert.h>
 #include <system_info.h>
 
 #include "peripheral_io.h"