diff options
| author | Drew DeVault <sir@cmpwn.com> | 2015-12-10 07:52:24 -0500 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2015-12-10 07:52:24 -0500 |
| commit | c422529ea34ad53d15f88ffda0e5f22770d08db6 (patch) | |
| tree | 69a292ca4ba1f1df11bbd3fbe77035f19d788868 /main.c | |
Add swaylock subproject
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#include <stdio.h> +#include <stdlib.h> +#include "log.h" + +void sway_terminate(void) { + exit(EXIT_FAILURE); +} + +int main(int argc, char **argv) { + init_log(L_INFO); + sway_log(L_INFO, "Hello world"); + return 0; +} |
