refactor: replace C11 keywords with C23 equivalents, NULL→nullptr, remove stdbool.h

This commit is contained in:
2026-07-02 02:02:09 -04:00
parent 1e09b182ee
commit 969a6c4ecb
12 changed files with 171 additions and 172 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
#include "util.h"
_Noreturn void
[[noreturn]] void
die(const char *fmt, ...) {
va_list ap;
@@ -17,7 +17,7 @@ die(const char *fmt, ...) {
if (fmt[0] && fmt[strlen(fmt)-1] == ':') {
fputc(' ', stderr);
perror(NULL);
perror(nullptr);
} else {
fputc('\n', stderr);
}