diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 00:58:05 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 01:03:41 +0200 |
| commit | af55803d0dff9eb692c760c8d486e736c945061d (patch) | |
| tree | 0875a1112bf98304e445e0544c4309670d6f4769 /tools/server/util.h | |
| parent | 0f861b7f3098750ddee4f6570f3be228d1da5320 (diff) | |
| download | ffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip | |
chore: clean up comment formatting and wording
Diffstat (limited to 'tools/server/util.h')
| -rw-r--r-- | tools/server/util.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/server/util.h b/tools/server/util.h index 3175cd0..97b1c48 100644 --- a/tools/server/util.h +++ b/tools/server/util.h @@ -5,10 +5,13 @@ #include <stddef.h> /* Die-on-OOM allocation, monotonic clocks, and timestamped logging shared by - * the ffwd-server translation units. The x* allocators abort the process on - * failure rather than returning NULL, so callers never null-check them; the - * attributes below carry that contract across translation-unit boundaries so - * the static analyzer does not flag the (correctly) unchecked uses. */ + * ffwd-server translation units. + * + * x* allocators abort on failure instead of returning NULL, so callers never + * null-check them. + * + * The attributes below carry that contract across translation-unit boundaries, + * preventing static-analyzer warnings for correctly unchecked uses. */ #if defined(__GNUC__) || defined(__clang__) # define SERVER_NORETURN __attribute__((noreturn)) |
