From 67b8103ba517fa552cae6ccfaa8e6491352d49a5 Mon Sep 17 00:00:00 2001 From: javalsai Date: Wed, 16 Jul 2025 20:16:38 +0200 Subject: [PATCH] lint(fix): nullability of log ptrs --- include/log.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/log.h b/include/log.h index 226b48b..9fa8079 100644 --- a/include/log.h +++ b/include/log.h @@ -3,10 +3,12 @@ #include -void log_init(FILE* fd); -void log_puts(const char* msg); -void log_printf(const char* fmt, ...); +#include "macros.h" + +void log_init(FILE* NNULLABLE fd); +void log_puts(const char* NNULLABLE msg); +void log_printf(const char* NNULLABLE fmt, ...); // NOLINTNEXTLINE(readability-identifier-length) -void log_perror(const char* s); +void log_perror(const char* NNULLABLE s); #endif