diff options
author | christos <christos@NetBSD.org> | 2011-08-16 09:26:22 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2011-08-16 09:26:22 +0000 |
commit | 34b5fff1b8d58f2ddaa89336354958daf8506b15 (patch) | |
tree | 09ee1c30254128e6ebf641897fbf6815959369d4 /hack/def.monst.h | |
parent | 04539cb235b06fd8cacf5c4c40081bd86e0dfa04 (diff) | |
download | bsdgames-darwin-34b5fff1b8d58f2ddaa89336354958daf8506b15.tar.gz bsdgames-darwin-34b5fff1b8d58f2ddaa89336354958daf8506b15.tar.zst bsdgames-darwin-34b5fff1b8d58f2ddaa89336354958daf8506b15.zip |
- document non-literal format strings
- avoid strict aliasing violations, but adding an intermediate function.
Diffstat (limited to 'hack/def.monst.h')
-rw-r--r-- | hack/def.monst.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |