From 92250aa15dc64047a481e0d097b2746c85785d53 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 22 Dec 2023 13:18:04 -0500 Subject: [PATCH] assess worm.c static functions for nonnull --- src/worm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worm.c b/src/worm.c index 6ff5bdb76..6d1266ed9 100644 --- a/src/worm.c +++ b/src/worm.c @@ -14,12 +14,12 @@ struct wseg { coordxy wx, wy; /* the segment's position */ }; -static void toss_wsegs(struct wseg *, boolean); +static void toss_wsegs(struct wseg *, boolean) NO_NNARGS; static void shrink_worm(int); #if 0 static void random_dir(int, int, int *, int *); #endif -static struct wseg *create_worm_tail(int); +static struct wseg *create_worm_tail(int); /* may return NULL */ /* Description of long worm implementation. *