mirror of
https://github.com/swaywm/sway.git
synced 2025-10-28 05:40:16 -04:00
swaymsg, swaynag: drop sway_terminate() definitions
These are unused.
This commit is contained in:
parent
8a8c78deac
commit
d3e1c13e1f
2 changed files with 0 additions and 9 deletions
|
|
@ -16,10 +16,6 @@
|
|||
#include "ipc-client.h"
|
||||
#include "log.h"
|
||||
|
||||
void sway_terminate(int exit_code) {
|
||||
exit(exit_code);
|
||||
}
|
||||
|
||||
static bool success_object(json_object *result) {
|
||||
json_object *success;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,11 +13,6 @@ void sig_handler(int signal) {
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
void sway_terminate(int code) {
|
||||
swaynag_destroy(&swaynag);
|
||||
exit(code);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int status = EXIT_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue