From e3257e646ce72a3f26cc5ca67f07389e497c816b Mon Sep 17 00:00:00 2001 From: Carl Smedstad Date: Mon, 7 Nov 2022 00:45:00 +0100 Subject: [PATCH] Remove duplicate declarations --- include/sway/commands.h | 2 -- sway/ipc-server.c | 1 - 2 files changed, 3 deletions(-) diff --git a/include/sway/commands.h b/include/sway/commands.h index 599347ef..123a7245 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -159,8 +159,6 @@ sway_cmd cmd_new_float; sway_cmd cmd_new_window; sway_cmd cmd_nop; sway_cmd cmd_opacity; -sway_cmd cmd_new_float; -sway_cmd cmd_new_window; sway_cmd cmd_no_focus; sway_cmd cmd_output; sway_cmd cmd_permit; diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 00b01d7d..fddd8fab 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -56,7 +56,6 @@ struct ipc_client { enum ipc_command_type pending_type; }; -struct sockaddr_un *ipc_user_sockaddr(void); int ipc_handle_connection(int fd, uint32_t mask, void *data); int ipc_client_handle_readable(int client_fd, uint32_t mask, void *data); int ipc_client_handle_writable(int client_fd, uint32_t mask, void *data);