From c1fc52e64432146647679f9df5d67cd5cc8242c2 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 22 Dec 2023 10:38:38 -0500 Subject: [PATCH] assess write.c static functions for nonnull --- src/write.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/write.c b/src/write.c index ac0a335e1..9227505d6 100644 --- a/src/write.c +++ b/src/write.c @@ -3,10 +3,10 @@ #include "hack.h" -static int cost(struct obj *); -static boolean label_known(int, struct obj *); -static int write_ok(struct obj *); -static char *new_book_description(int, char *); +static int cost(struct obj *) NONNULLARG1; +static boolean label_known(int, struct obj *) NO_NNARGS; +static int write_ok(struct obj *) NO_NNARGS; +static char *new_book_description(int, char *) NONNULL NONNULLARG1; /* * returns basecost of a scroll or a spellbook