cleanup, add manual page
[unix-history] / usr / src / games / monop / monop.h
index 9713138..06f2471 100644 (file)
@@ -1,15 +1,20 @@
 /*
 /*
- * Copyright (c) 1987 Regents of the University of California.
+ * Copyright (c) 1980 Regents of the University of California.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of California at Berkeley. The name of the University
- * may not be used to endorse or promote products derived from this
- * software without specific prior written permission. This software
- * is provided ``as is'' without express or implied warranty.
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  *
- *     @(#)monop.h     5.2 (Berkeley) %G%
+ *     @(#)monop.h     5.4 (Berkeley) %G%
  */
 
 # include      <stdio.h>
  */
 
 # include      <stdio.h>
@@ -63,7 +68,7 @@ struct sqr_st {                       /* structure for square                 */
 
 typedef struct sqr_st  SQUARE;
 
 
 typedef struct sqr_st  SQUARE;
 
-struct mon_st {                        /* monopoly descriptin structure        */
+struct mon_st {                        /* monopoly description structure       */
        char    *name;                  /* monop. name (color)          */
        shrt    owner;                  /* owner of monopoly            */
        shrt    num_in;                 /* # in monopoly                */
        char    *name;                  /* monop. name (color)          */
        shrt    owner;                  /* owner of monopoly            */
        shrt    num_in;                 /* # in monopoly                */
@@ -71,7 +76,7 @@ struct mon_st {                       /* monopoly descriptin structure        */
        shrt    h_cost;                 /* price of houses              */
        char    *not_m;                 /* name if not monopoly         */
        char    *mon_n;                 /* name if a monopoly           */
        shrt    h_cost;                 /* price of houses              */
        char    *not_m;                 /* name if not monopoly         */
        char    *mon_n;                 /* name if a monopoly           */
-       char    sqnum[3];               /* Square numbers (used to init)*/
+       char    sqnums[3];              /* Square numbers (used to init)*/
        SQUARE  *sq[3];                 /* list of squares in monop     */
 };
 
        SQUARE  *sq[3];                 /* list of squares in monop     */
 };