From 741d2929b4d3bc15356ef5c198dd27c181925268 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 22 Dec 2023 13:10:39 -0500 Subject: [PATCH] assess worn.c static functions for nonnull --- src/worn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/worn.c b/src/worn.c index 4b9507ced..aa8f44c41 100644 --- a/src/worn.c +++ b/src/worn.c @@ -5,10 +5,10 @@ #include "hack.h" -static void m_lose_armor(struct monst *, struct obj *, boolean); -static void clear_bypass(struct obj *); -static void m_dowear_type(struct monst *, long, boolean, boolean); -static int extra_pref(struct monst *, struct obj *); +static void m_lose_armor(struct monst *, struct obj *, boolean) NONNULLPTRS; +static void clear_bypass(struct obj *) NO_NNARGS; +static void m_dowear_type(struct monst *, long, boolean, boolean) NONNULLARG1; +static int extra_pref(struct monst *, struct obj *) NONNULLARG1; const struct worn { long w_mask;