mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
server: move sway_terminate() definition to header
This commit is contained in:
parent
d3e1c13e1f
commit
0153bc92ab
2 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
|||
#include <stddef.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
||||
void sway_terminate(int exit_code);
|
||||
#include "sway/server.h"
|
||||
|
||||
struct cmd_results *cmd_exit(int argc, char **argv) {
|
||||
struct cmd_results *error = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue