From 83f2ef7227030c4b88ec1006e49d9304aa6f7be0 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 13 Oct 2012 19:19:38 +0000 Subject: Pass the move info around instead of using it as a global. --- backgammon/teachgammon/tutor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'backgammon/teachgammon/tutor.h') diff --git a/backgammon/teachgammon/tutor.h b/backgammon/teachgammon/tutor.h index 26e55e1f..203f0fca 100644 --- a/backgammon/teachgammon/tutor.h +++ b/backgammon/teachgammon/tutor.h @@ -1,4 +1,4 @@ -/* $NetBSD: tutor.h,v 1.10 2011/08/26 06:18:16 dholland Exp $ */ +/* $NetBSD: tutor.h,v 1.11 2012/10/13 19:19:39 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -31,6 +31,8 @@ * @(#)tutor.h 8.1 (Berkeley) 5/31/93 */ +struct move; /* in back.h */ + struct situatn { int brd[26]; int roll1; @@ -63,4 +65,4 @@ extern const struct situatn test[]; void leave(void) __dead; -void tutor(void) __dead; +void tutor(struct move *) __dead; -- cgit v1.2.3