NONNULLxxx for several files

src/date.c
src/mdlib.c
src/timeout.c
src/u_init.c
src/vault.c
src/version.c
src/windows.c
This commit is contained in:
nhmall
2023-12-27 20:11:59 -05:00
parent e69c98c14a
commit caf436934e
9 changed files with 44 additions and 41 deletions
+2
View File
@@ -383,6 +383,7 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
#define NONNULLARG5 __attribute__((nonnull (5)))
#define NONNULLARG7 __attribute__((nonnull (7))) /* for bhit() */
#define NONNULLARG12 __attribute__((nonnull (1, 2)))
#define NONNULLARG23 __attribute__((nonnull (2, 3)))
#define NONNULLARG123 __attribute__((nonnull (1, 2, 3)))
#define NONNULLARG13 __attribute__((nonnull (1, 3)))
#define NONNULLARG14 __attribute__((nonnull (1, 4))) /* for query_category */
@@ -428,6 +429,7 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
#define NONNULLARG5
#define NONNULLARG7
#define NONNULLARG12
#define NONNULLARG23
#define NONNULLARG123
#define NONNULLARG13
#define NONNULLARG14