X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/13b5b0009082f9bc2c991c326ca650178761bdff..841b491f968c54e5a99d713163aa381d827a6516:/gomoku/bdinit.c diff --git a/gomoku/bdinit.c b/gomoku/bdinit.c index dd3c1799..2a803297 100644 --- a/gomoku/bdinit.c +++ b/gomoku/bdinit.c @@ -1,3 +1,5 @@ +/* $NetBSD: bdinit.c,v 1.4 1997/10/10 13:36:01 lukem Exp $ */ + /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -34,19 +36,25 @@ * SUCH DAMAGE. */ +#include #ifndef lint -static char sccsid[] = "@(#)bdinit.c 8.2 (Berkeley) 5/3/95"; +#if 0 +static char sccsid[] = "from: @(#)bdinit.c 8.2 (Berkeley) 5/3/95"; +#else +__RCSID("$NetBSD: bdinit.c,v 1.4 1997/10/10 13:36:01 lukem Exp $"); +#endif #endif /* not lint */ #include #include "gomoku.h" +void bdinit(bp) struct spotstr *bp; { - register int i, j, r; - register struct spotstr *sp; - register struct combostr *cbp; + int i, j, r; + struct spotstr *sp; + struct combostr *cbp; movenum = 1; @@ -167,11 +175,12 @@ bdinit(bp) * As pieces are played, it can make frames not overlap if there are no * common open spaces shared between the two frames. */ +void init_overlap() { - register struct spotstr *sp1, *sp2; - register struct combostr *cbp; - register int i, f, r, n, d1, d2; + struct spotstr *sp1, *sp2; + struct combostr *cbp; + int i, f, r, n, d1, d2; int mask, bmask, vertex, s; u_char *str; short *ip;