refactor: replace C11 keywords with C23 equivalents, NULL→nullptr, remove stdbool.h
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user