diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-22 18:40:22 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-22 18:40:22 +0200 |
| commit | f14acf7306b022c1d0dd98f5fd654dbdc38e64e5 (patch) | |
| tree | 562e30fdad694f11fc1075b353be6d22d9094171 /util.c | |
create ffbg
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); +} |