diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-02-25 09:28:16 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-04-14 18:21:43 +0200 |
commit | 63f9bdf00126d4505235c533693c297722be57c8 (patch) | |
tree | c4375d71ff5a7c79a60501a2b0d0729ae182d8ed /sway | |
parent | ab4f46059793cbdd7942b128db970de95af37ed3 (diff) |
Fix old style function definitions
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/split.c | 2 | ||||
-rw-r--r-- | sway/desktop/launcher.c | 2 |
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) { return cmd_results_new(CMD_SUCCESS, NULL); } -static struct cmd_results *do_unsplit() { +static struct cmd_results *do_unsplit(void) { struct sway_container *con = config->handler_context.container; struct sway_workspace *ws = config->handler_context.workspace; 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 } // Creates a context with a new token for the internal launcher -struct launcher_ctx *launcher_ctx_create_internal() { +struct launcher_ctx *launcher_ctx_create_internal(void) { struct sway_seat *seat = input_manager_current_seat(); struct sway_workspace *ws = seat_get_focused_workspace(seat); if (!ws) { |