add NONNULLARG6

Incorporate some inconsequential bits from the testing I've been doing.
This commit is contained in:
PatR
2024-01-28 01:13:08 -08:00
parent fd8b2b58d1
commit 57c8ae4b9a
3 changed files with 3 additions and 2 deletions

View File

@@ -1179,5 +1179,3 @@ extern const struct const_globals cg;
extern struct obj hands_obj;
#endif /* DECL_H */

View File

@@ -381,6 +381,7 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
#define NONNULLARG3 __attribute__((nonnull (3)))
#define NONNULLARG4 __attribute__((nonnull (4)))
#define NONNULLARG5 __attribute__((nonnull (5)))
#define NONNULLARG6 __attribute__((nonnull (6)))
#define NONNULLARG7 __attribute__((nonnull (7))) /* for bhit() */
#define NONNULLARG12 __attribute__((nonnull (1, 2)))
#define NONNULLARG23 __attribute__((nonnull (2, 3)))
@@ -427,6 +428,7 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
#define NONNULLARG3
#define NONNULLARG4
#define NONNULLARG5
#define NONNULLARG6
#define NONNULLARG7
#define NONNULLARG12
#define NONNULLARG23

View File

@@ -1095,4 +1095,5 @@ sa_victual(
{
return;
}
/*decl.c*/