Commit 4e3a2510 authored by spiiroin's avatar spiiroin

[build] Remove unneeded include statements

The include files required by modules/headers changes over time.
While missing headers cause compilation errors and are thus fixed
promptly, the same does not apply for excess/redundant includes.

Mass remove all includes that are no longer needed.
Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent 02b711f4
......@@ -9,7 +9,6 @@ builtin-gconf.o:\
mce.h\
modules/display.h\
modules/doubletap.h\
modules/filter-brightness-als.h\
modules/led.h\
modules/memnotify.h\
modules/powersavemode.h\
......@@ -28,7 +27,6 @@ builtin-gconf.pic.o:\
mce.h\
modules/display.h\
modules/doubletap.h\
modules/filter-brightness-als.h\
modules/led.h\
modules/memnotify.h\
modules/powersavemode.h\
......@@ -194,10 +192,8 @@ mce-dsme.o:\
mce-dsme.c\
builtin-gconf.h\
datapipe.h\
mce-conf.h\
mce-dbus.h\
mce-dsme.h\
mce-lib.h\
mce-log.h\
mce-worker.h\
mce.h\
......@@ -206,10 +202,8 @@ mce-dsme.pic.o:\
mce-dsme.c\
builtin-gconf.h\
datapipe.h\
mce-conf.h\
mce-dbus.h\
mce-dsme.h\
mce-lib.h\
mce-log.h\
mce-worker.h\
mce.h\
......@@ -378,21 +372,15 @@ mce-wakelock.pic.o:\
mce-wltimer.o:\
mce-wltimer.c\
datapipe.h\
mce-lib.h\
mce-log.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\
mce-wltimer.pic.o:\
mce-wltimer.c\
datapipe.h\
mce-lib.h\
mce-log.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\
mce-worker.o:\
mce-worker.c\
......@@ -612,7 +600,6 @@ modules/camera.o:\
mce-conf.h\
mce-io.h\
mce.h\
mce.h\
tklock.h\
modules/camera.h\
......@@ -622,7 +609,6 @@ modules/camera.pic.o:\
mce-conf.h\
mce-io.h\
mce.h\
mce.h\
tklock.h\
modules/camera.h\
......@@ -659,7 +645,6 @@ modules/display.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.h\
modules/powersavemode.h\
......@@ -681,7 +666,6 @@ modules/display.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.h\
modules/powersavemode.h\
......@@ -720,7 +704,6 @@ modules/filter-brightness-als.o:\
mce-setting.h\
mce-wakelock.h\
mce.h\
mce.h\
tklock.h\
modules/display.h\
modules/filter-brightness-als.h\
......@@ -737,7 +720,6 @@ modules/filter-brightness-als.pic.o:\
mce-setting.h\
mce-wakelock.h\
mce.h\
mce.h\
tklock.h\
modules/display.h\
modules/filter-brightness-als.h\
......@@ -827,21 +809,17 @@ modules/led.pic.o:\
modules/memnotify.o:\
modules/memnotify.c\
builtin-gconf.h\
datapipe.h\
mce-dbus.h\
mce-log.h\
mce-setting.h\
mce.h\
modules/memnotify.h\
modules/memnotify.pic.o:\
modules/memnotify.c\
builtin-gconf.h\
datapipe.h\
mce-dbus.h\
mce-log.h\
mce-setting.h\
mce.h\
modules/memnotify.h\
modules/packagekit.o:\
......@@ -928,7 +906,6 @@ modules/sensor-gestures.o:\
datapipe.h\
mce-dbus.h\
mce-log.h\
mce-sensorfw.h\
mce-setting.h\
mce.h\
modules/display.h\
......@@ -939,7 +916,6 @@ modules/sensor-gestures.pic.o:\
datapipe.h\
mce-dbus.h\
mce-log.h\
mce-sensorfw.h\
mce-setting.h\
mce.h\
modules/display.h\
......@@ -974,7 +950,6 @@ powerkey.o:\
datapipe.h\
evdev.h\
libwakelock.h\
mce-conf.h\
mce-dbus.h\
mce-dsme.h\
mce-lib.h\
......@@ -992,7 +967,6 @@ powerkey.pic.o:\
datapipe.h\
evdev.h\
libwakelock.h\
mce-conf.h\
mce-dbus.h\
mce-dsme.h\
mce-lib.h\
......@@ -1021,7 +995,6 @@ tests/ut/ut_display.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1045,7 +1018,6 @@ tests/ut/ut_display.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1070,7 +1042,6 @@ tests/ut/ut_display_blanking_inhibit.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1095,7 +1066,6 @@ tests/ut/ut_display_blanking_inhibit.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1120,7 +1090,6 @@ tests/ut/ut_display_conf.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1145,7 +1114,6 @@ tests/ut/ut_display_conf.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1170,7 +1138,6 @@ tests/ut/ut_display_filter.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1195,7 +1162,6 @@ tests/ut/ut_display_filter.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1220,7 +1186,6 @@ tests/ut/ut_display_stm.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1245,7 +1210,6 @@ tests/ut/ut_display_stm.pic.o:\
mce-setting.h\
mce-worker.h\
mce.h\
mce.h\
tklock.h\
modules/display.c\
modules/display.h\
......@@ -1258,7 +1222,6 @@ tklock.o:\
datapipe.h\
evdev.h\
libwakelock.h\
mce-conf.h\
mce-dbus.h\
mce-hbtimer.h\
mce-io.h\
......@@ -1278,7 +1241,6 @@ tklock.pic.o:\
datapipe.h\
evdev.h\
libwakelock.h\
mce-conf.h\
mce-dbus.h\
mce-hbtimer.h\
mce-io.h\
......@@ -1322,7 +1284,6 @@ tools/mcetool.o:\
mce.h\
modules/display.h\
modules/doubletap.h\
modules/filter-brightness-als.h\
modules/led.h\
modules/memnotify.h\
modules/powersavemode.h\
......@@ -1340,7 +1301,6 @@ tools/mcetool.pic.o:\
mce.h\
modules/display.h\
modules/doubletap.h\
modules/filter-brightness-als.h\
modules/led.h\
modules/memnotify.h\
modules/powersavemode.h\
......
......@@ -27,7 +27,6 @@
#include "event-input.h"
#include "modules/memnotify.h"
#include "modules/filter-brightness-als.h"
#include "modules/display.h"
#include "modules/proximity.h"
#include "modules/powersavemode.h"
......
......@@ -39,13 +39,10 @@
#include <mce/dbus-names.h>
#include <mce/mode-names.h>
#include <linux/input.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <dirent.h>
#include <glib/gstdio.h>
#include <gio/gio.h>
......
......@@ -30,7 +30,6 @@
#include "systemui/dbus-names.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
......
......@@ -23,8 +23,6 @@
#include "builtin-gconf.h"
#include <stdbool.h>
#include <dbus/dbus.h>
/* ========================================================================= *
......
......@@ -28,14 +28,11 @@
#include "mce.h"
#include "mce-log.h"
#include "mce-lib.h"
#include "mce-conf.h"
#include "mce-dbus.h"
#include "mce-worker.h"
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <dsme/state.h>
#include <dsme/protocol.h>
......
......@@ -34,9 +34,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <errno.h>
#include <time.h>
/* ========================================================================= *
* CONSTANTS
......
......@@ -34,14 +34,11 @@
# include "libwakelock.h"
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <pthread.h>
......
......@@ -30,7 +30,6 @@
# include "libwakelock.h"
#endif
#include <stdbool.h>
#include <unistd.h>
#include <inttypes.h>
#include <string.h>
......
......@@ -38,7 +38,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
......
......@@ -25,7 +25,6 @@
#include "mce-log.h"
#include <stdlib.h>
#include <string.h>
/** Pointer to the GConf client */
......
......@@ -26,9 +26,7 @@
#include "mce-wltimer.h"
#include "mce.h"
#include "mce-log.h"
#include "mce-lib.h"
#include "mce-wakelock.h"
#include <stdlib.h>
......
......@@ -29,7 +29,6 @@
#include <sys/eventfd.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
......
......@@ -26,9 +26,7 @@
#include "mce-log.h"
#include "mce-io.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <glib/gstdio.h>
......
......@@ -49,18 +49,14 @@
#include "../mce.h"
#include "../mce-log.h"
#include <sys/types.h>
#include <sys/epoll.h>
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
/* ========================================================================= *
......
......@@ -25,9 +25,6 @@
#include "../mce-dbus.h"
#include "../mce-conf.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
......
......@@ -21,7 +21,6 @@
#include "camera.h"
#include "../mce.h"
#include "../mce-io.h"
#include "../mce-conf.h"
#include "../tklock.h"
......
......@@ -33,7 +33,6 @@
# include "../libwakelock.h"
#endif
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
......
......@@ -22,7 +22,6 @@
#include "display.h"
#include "../mce.h"
#include "../mce-log.h"
#include "../mce-io.h"
#include "../mce-lib.h"
......
......@@ -12,7 +12,6 @@
#include "../mce-conf.h"
#include "../mce-setting.h"
#include <stdbool.h>
#include <unistd.h>
#include <gmodule.h>
......
......@@ -27,7 +27,6 @@
#include "filter-brightness-als.h"
#include "display.h"
#include "../mce.h"
#include "../mce-log.h"
#include "../mce-io.h"
#include "../mce-conf.h"
......@@ -37,7 +36,6 @@
#include "../mce-wakelock.h"
#include "../tklock.h"
#include <stdlib.h>
#include <string.h>
#include <mce/dbus-names.h>
......
......@@ -24,8 +24,6 @@
#ifndef _FILTER_BRIGHTNESS_ALS_H_
# define _FILTER_BRIGHTNESS_ALS_H_
# include <glib.h>
/** Name of common group in color profiles conf file */
# define MCE_CONF_COMMON_GROUP "Common"
......
......@@ -21,7 +21,6 @@
#include "memnotify.h"
#include "../mce.h"
#include "../mce-log.h"
#include "../mce-dbus.h"
#include "../mce-setting.h"
......
......@@ -24,7 +24,6 @@
#include "../mce-log.h"
#include "../mce-setting.h"
#include "../mce-dbus.h"
#include "../mce-sensorfw.h"
#include "display.h"
#include <mce/dbus-names.h>
......
......@@ -26,11 +26,8 @@
#include "multitouch.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <inttypes.h>
/* ========================================================================= *
* TYPES & FUNCTIONS
......
......@@ -25,10 +25,8 @@
#include "tklock.h"
#include "evdev.h"
#include "mce.h"
#include "mce-log.h"
#include "mce-lib.h"
#include "mce-conf.h"
#include "mce-setting.h"
#include "mce-dbus.h"
#include "mce-dsme.h"
......@@ -43,12 +41,10 @@
#include <linux/input.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <mce/dbus-names.h>
#include <mce/mode-names.h>
......
......@@ -23,11 +23,9 @@
#include "tklock.h"
#include "mce.h"
#include "mce-log.h"
#include "mce-lib.h"
#include "mce-io.h"
#include "mce-conf.h"
#include "mce-setting.h"
#include "mce-dbus.h"
#include "mce-hbtimer.h"
......@@ -45,9 +43,6 @@
#include <linux/input.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
......
......@@ -24,8 +24,6 @@
# include "mce.h"
# include <glib.h>
/* ========================================================================= *
* Settings
* ========================================================================= */
......
......@@ -12,12 +12,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <poll.h>
#include <glob.h>
#include <getopt.h>
......
......@@ -27,11 +27,8 @@
#include "fileusers.h"
#include "../mce-log.h"
#include <sys/types.h>
#include <stdio.h>
#include <stdbool.h>
#include <dirent.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
......
......@@ -25,7 +25,6 @@
#include "../modules/display.h"
#include "../modules/doubletap.h"
#include "../modules/powersavemode.h"
#include "../modules/filter-brightness-als.h"
#include "../modules/proximity.h"
#include "../modules/memnotify.h"
#include "../modules/led.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment