summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source/back.h
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-24 12:21:37 +0000
committercgd <cgd@NetBSD.org>1995-04-24 12:21:37 +0000
commita65a873e56c35780711e9f73872c4fe0254589b0 (patch)
tree5e3a2578839def2becc14922977dc641dfd01c20 /backgammon/common_source/back.h
parentd7c608df67f7b99aee31ddf6c13d8870695f6827 (diff)
downloadbsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz
bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.zst
bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.zip
Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
Diffstat (limited to 'backgammon/common_source/back.h')
-rw-r--r--backgammon/common_source/back.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h
index 0e556c41..567c936b 100644
--- a/backgammon/common_source/back.h
+++ b/backgammon/common_source/back.h
@@ -1,4 +1,4 @@
-/* $NetBSD: back.h,v 1.3 1995/03/21 15:05:28 cgd Exp $ */
+/* $NetBSD: back.h,v 1.4 1995/04/24 12:22:06 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -36,6 +36,8 @@
*/
#include <sgtty.h>
+#include <stdlib.h>
+#include <string.h>
#define rnum(r) (random()%r)
#define D0 dice[0]