commit 37308f65495feebcef5480ad28a9e1f936f7e807 parent eb770e88b7396e892898d6a71867d2a603e707ff Author: Ed Younis <edyounis123@gmail.com> Date: Wed, 17 Jul 2019 16:19:32 -0700 input_cmd_xkb_*: cleanup includes Diffstat:
7 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/sway/commands/input/xkb_file.c b/sway/commands/input/xkb_file.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_file(int argc, char **argv) { diff --git a/sway/commands/input/xkb_layout.c b/sway/commands/input/xkb_layout.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) { diff --git a/sway/commands/input/xkb_model.c b/sway/commands/input/xkb_model.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_model(int argc, char **argv) { diff --git a/sway/commands/input/xkb_numlock.c b/sway/commands/input/xkb_numlock.c @@ -1,8 +1,6 @@ -#include <string.h> -#include <strings.h> +#define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "util.h" struct cmd_results *input_cmd_xkb_numlock(int argc, char **argv) { diff --git a/sway/commands/input/xkb_options.c b/sway/commands/input/xkb_options.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_options(int argc, char **argv) { diff --git a/sway/commands/input/xkb_rules.c b/sway/commands/input/xkb_rules.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) { diff --git a/sway/commands/input/xkb_variant.c b/sway/commands/input/xkb_variant.c @@ -1,7 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include "sway/config.h" #include "sway/commands.h" -#include "sway/input/input-manager.h" #include "log.h" struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) {