From 34b5fff1b8d58f2ddaa89336354958daf8506b15 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 16 Aug 2011 09:26:22 +0000 Subject: - document non-literal format strings - avoid strict aliasing violations, but adding an intermediate function. --- hack/def.monst.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hack/def.monst.h') diff --git a/hack/def.monst.h b/hack/def.monst.h index f8481c2b..99c2ccf9 100644 --- a/hack/def.monst.h +++ b/hack/def.monst.h @@ -1,4 +1,4 @@ -/* $NetBSD: def.monst.h,v 1.8 2011/08/06 20:18:26 dholland Exp $ */ +/* $NetBSD: def.monst.h,v 1.9 2011/08/16 09:26:22 christos Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -112,6 +112,8 @@ struct monst { extern struct monst *fmon; extern struct monst *fallen_down; +extern void *monster_private(struct monst *); + /* these are in mspeed */ #define MSLOW 1 /* slow monster */ #define MFAST 2 /* speeded monster */ -- cgit v1.2.3