diff options
author | Shav Kinderlehrer <[email protected]> | 2023-04-26 18:05:13 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-04-26 18:05:13 -0400 |
commit | 7e24ad39b1e926339cbe3ec295791d0f608a91df (patch) | |
tree | dfcfde5c7b6c4afc3a0ba16d125a3131f862cd87 /src/lib/util.c | |
parent | 77c2d0ea4ad366104f082b6670b6af03fc45e497 (diff) | |
download | lat-0.12.1.tar.gz lat-0.12.1.zip |
Cleanupv0.12.1
- Cleanup unneeded headers
- Fix helptext typos/bugs
- add noreturn to die(), and equiv
Diffstat (limited to 'src/lib/util.c')
-rw-r--r-- | src/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util.c b/src/lib/util.c index d66579d..1a8f1e8 100644 --- a/src/lib/util.c +++ b/src/lib/util.c @@ -1,8 +1,8 @@ #include <stdio.h> #include <stdlib.h> -#include <sys/ioctl.h> +#include <stdnoreturn.h> -void die(const char *message) { +noreturn void die(const char *message) { perror(message); exit(EXIT_FAILURE); } |