diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-06 23:29:18 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-06 23:29:18 +0200 |
| commit | 63288c4d50dea63a5a403b86762cf66c9db35325 (patch) | |
| tree | 1874b283366216f6a91a0084a63a9c44da3d6c2b /util.c | |
create green window using xdg-surface
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#include <stdio.h> +#include <stdlib.h> + +#include "util.h" + +void +die(const char *error) +{ + fprintf(stderr, "error: %s\n", error); + exit(-1); +} |