diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-03-03 16:57:28 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-03-04 11:46:00 -0500 |
commit | 5c5ae3962c46cf4051bcd6d4e2355422e63de42b (patch) | |
tree | 6552fb22344d8385fc1b253448d5a29982488f3a /build | |
parent | 1aefb830360e43b6e5ddee96791eb83cdad766cc (diff) | |
download | bfs-5c5ae3962c46cf4051bcd6d4e2355422e63de42b.tar.xz |
diag: Get rid of struct bfs_location
Just add the standard prefix to the passed format string in the
diagnostic macros themselves. This lets us write the whole message with
one dprintf() call, minimizing interleaving.
It's also a net win for binary size.
Diffstat (limited to 'build')
-rw-r--r-- | build/has/compound-literal-storage.c | 6 | ||||
-rw-r--r-- | build/header.mk | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/build/has/compound-literal-storage.c b/build/has/compound-literal-storage.c deleted file mode 100644 index e2281e1..0000000 --- a/build/has/compound-literal-storage.c +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright © Tavian Barnes <tavianator@tavianator.com> -// SPDX-License-Identifier: 0BSD - -int main(void) { - return (static int){0}; -} diff --git a/build/header.mk b/build/header.mk index 19cb175..0e3af14 100644 --- a/build/header.mk +++ b/build/header.mk @@ -19,7 +19,6 @@ HEADERS := \ gen/has/acl-is-trivial-np.h \ gen/has/acl-trivial.h \ gen/has/builtin-riscv-pause.h \ - gen/has/compound-literal-storage.h \ gen/has/confstr.h \ gen/has/dprintf.h \ gen/has/extattr-get-file.h \ |