aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands/split.c2
-rw-r--r--sway/desktop/launcher.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/split.c b/sway/commands/split.c
index c8a2cfc1..500a497d 100644
--- a/sway/commands/split.c
+++ b/sway/commands/split.c
@@ -32,7 +32,7 @@ static struct cmd_results *do_split(int layout) {
32 return cmd_results_new(CMD_SUCCESS, NULL); 32 return cmd_results_new(CMD_SUCCESS, NULL);
33} 33}
34 34
35static struct cmd_results *do_unsplit() { 35static struct cmd_results *do_unsplit(void) {
36 struct sway_container *con = config->handler_context.container; 36 struct sway_container *con = config->handler_context.container;
37 struct sway_workspace *ws = config->handler_context.workspace; 37 struct sway_workspace *ws = config->handler_context.workspace;
38 38
diff --git a/sway/desktop/launcher.c b/sway/desktop/launcher.c
index b666da1e..00a7e38a 100644
--- a/sway/desktop/launcher.c
+++ b/sway/desktop/launcher.c
@@ -228,7 +228,7 @@ struct launcher_ctx *launcher_ctx_create(struct wlr_xdg_activation_token_v1 *tok
228} 228}
229 229
230// Creates a context with a new token for the internal launcher 230// Creates a context with a new token for the internal launcher
231struct launcher_ctx *launcher_ctx_create_internal() { 231struct launcher_ctx *launcher_ctx_create_internal(void) {
232 struct sway_seat *seat = input_manager_current_seat(); 232 struct sway_seat *seat = input_manager_current_seat();
233 struct sway_workspace *ws = seat_get_focused_workspace(seat); 233 struct sway_workspace *ws = seat_get_focused_workspace(seat);
234 if (!ws) { 234 if (!ws) {