diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-20 15:21:21 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-20 15:21:21 +0100 |
| commit | 05e97f8346521b50fbedcc2e7d0679e297d4d98b (patch) | |
| tree | 6f0a909ffd1c5bcf5e1b95fa7ae61d721826e7db /util.c | |
make first sketch of bar using freetype2 instead of cairo
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); +} |