]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - trek/computer.c
Don't chown installed files or directories if UNPRIVILEGED is defined.
[bsdgames-darwin.git] / trek / computer.c
index 7c661236a0a6b54bdb8c0bbc567eaba3db5a80df..cb08ae6d738cb59ab7fc63cca56793a8b7246be0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: computer.c,v 1.5 1997/10/12 21:24:34 christos Exp $    */
+/*     $NetBSD: computer.c,v 1.6 1999/07/21 13:19:10 hubertf Exp $     */
 
 /*
  * Copyright (c) 1980, 1993
 
 /*
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93";
 #else
 #if 0
 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: computer.c,v 1.5 1997/10/12 21:24:34 christos Exp $");
+__RCSID("$NetBSD: computer.c,v 1.6 1999/07/21 13:19:10 hubertf Exp $");
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -118,7 +118,7 @@ computer(v)
        int             ix, iy;
        int             i, j;
        int             tqx, tqy;
        int             ix, iy;
        int             i, j;
        int             tqx, tqy;
-       struct cvntab   *r;
+       const struct cvntab     *r;
        int             cost;
        int             course;
        double          dist, time;
        int             cost;
        int             course;
        double          dist, time;