]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - monop/print.c
Use __dead and __printflike instead of __attribute__.
[bsdgames-darwin.git] / monop / print.c
index 898c6eef84cf52a59c10264f50fc2a323444dfb1..2b0cc42d11d14a52b206c54689225267a33ff916 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: print.c,v 1.9 2008/02/19 09:45:02 dholland Exp $       */
+/*     $NetBSD: print.c,v 1.12 2008/02/24 03:56:49 christos Exp $      */
 
 /*
  * Copyright (c) 1980, 1993
 #if 0
 static char sccsid[] = "@(#)print.c    8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: print.c,v 1.9 2008/02/19 09:45:02 dholland Exp $");
+__RCSID("$NetBSD: print.c,v 1.12 2008/02/24 03:56:49 christos Exp $");
 #endif
 #endif /* not lint */
 
-#include "monop.ext"
+#include "monop.h"
 
 static const char *header = "Name      Own      Price Mg # Rent";
 
@@ -82,9 +82,7 @@ where()
  *     This routine prints out an individual square
  */
 void
-printsq(sqn, eoln)
-       int sqn;
-       bool eoln;
+printsq(int sqn, bool eoln)
 {
        int rnt;
        PROP *pp;
@@ -123,8 +121,7 @@ printsq(sqn, eoln)
                                        printf("0 %4d", pp->rent[0] * 2);
                        else
                                printf("H %4d", pp->rent[5]);
-               }
-               else
+               } else
                        printf("  %4d", pp->rent[0]);
                break;
          case UTIL: