mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -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 "ipc-client.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
void sway_terminate(int exit_code) {
|
|
||||||
exit(exit_code);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool success_object(json_object *result) {
|
static bool success_object(json_object *result) {
|
||||||
json_object *success;
|
json_object *success;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,6 @@ void sig_handler(int signal) {
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sway_terminate(int code) {
|
|
||||||
swaynag_destroy(&swaynag);
|
|
||||||
exit(code);
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
int status = EXIT_SUCCESS;
|
int status = EXIT_SUCCESS;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue