assess write.c static functions for nonnull

This commit is contained in:
nhmall
2023-12-22 10:38:38 -05:00
parent 10e7f61380
commit c1fc52e644
+4 -4
View File
@@ -3,10 +3,10 @@
#include "hack.h" #include "hack.h"
static int cost(struct obj *); static int cost(struct obj *) NONNULLARG1;
static boolean label_known(int, struct obj *); static boolean label_known(int, struct obj *) NO_NNARGS;
static int write_ok(struct obj *); static int write_ok(struct obj *) NO_NNARGS;
static char *new_book_description(int, char *); static char *new_book_description(int, char *) NONNULL NONNULLARG1;
/* /*
* returns basecost of a scroll or a spellbook * returns basecost of a scroll or a spellbook