+/* $NetBSD: roll.c,v 1.5 1997/05/23 23:09:42 jtc Exp $ */
+
/*
- * Copyright (c) 1982 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1982, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*/
#ifndef lint
-static char sccsid[] = "@(#)roll.c 5.4 (Berkeley) 6/1/90";
+#if 0
+static char sccsid[] = "@(#)roll.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: roll.c,v 1.5 1997/05/23 23:09:42 jtc Exp $";
+#endif
#endif /* not lint */
# include "mille.h"
*/
roll(ndie, nsides)
-reg int ndie, nsides; {
+register int ndie, nsides;
+{
- reg int tot;
+ register int tot;
extern unsigned int random();
tot = 0;