]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hack/hack.makemon.c
tetris: Use arc4random_uniform instead of modulo for better randomness
[bsdgames-darwin.git] / hack / hack.makemon.c
index 9a0821e8e33e5d17c3e6e5e61feaf4aceea4f332..4872426e2a8ce285e171d784a6cece48ba71c1c4 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: hack.makemon.c,v 1.8 2009/06/07 18:30:39 dholland Exp $        */
+/*     $NetBSD: hack.makemon.c,v 1.9 2009/08/12 07:28:40 dholland Exp $        */
 
 /*
  * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hack.makemon.c,v 1.8 2009/06/07 18:30:39 dholland Exp $");
+__RCSID("$NetBSD: hack.makemon.c,v 1.9 2009/08/12 07:28:40 dholland Exp $");
 #endif                         /* not lint */
 
 #include       "hack.h"
 #include       "extern.h"
 
-struct monst zeromonst;
+static const struct monst zeromonst;
 
 /*
  * called with [x,y] = coordinates;