summaryrefslogtreecommitdiffstats
path: root/atc/log.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-11-10 13:43:30 +0000
committerhubertf <hubertf@NetBSD.org>1998-11-10 13:43:30 +0000
commit64e97658ba659a3c374b975c3262f10910904254 (patch)
tree2dcdc88c24142665bc69163b5c841365a606a872 /atc/log.c
parent7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0 (diff)
downloadbsdgames-darwin-64e97658ba659a3c374b975c3262f10910904254.tar.gz
bsdgames-darwin-64e97658ba659a3c374b975c3262f10910904254.tar.zst
bsdgames-darwin-64e97658ba659a3c374b975c3262f10910904254.zip
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'atc/log.c')
-rw-r--r--atc/log.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/atc/log.c b/atc/log.c
index 3782bf3e..1a515266 100644
--- a/atc/log.c
+++ b/atc/log.c
@@ -1,4 +1,4 @@
-/* $NetBSD: log.c,v 1.7 1998/07/24 23:22:26 hubertf Exp $ */
+/* $NetBSD: log.c,v 1.8 1998/11/10 13:43:31 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -50,7 +50,7 @@
#if 0
static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: log.c,v 1.7 1998/07/24 23:22:26 hubertf Exp $");
+__RCSID("$NetBSD: log.c,v 1.8 1998/11/10 13:43:31 hubertf Exp $");
#endif
#endif not lint
@@ -61,10 +61,10 @@ int
compar(va, vb)
const void *va, *vb;
{
- SCORE *a, *b;
+ const SCORE *a, *b;
- a = (SCORE *)va;
- b = (SCORE *)vb;
+ a = (const SCORE *)va;
+ b = (const SCORE *)vb;
if (b->planes == a->planes)
return (b->time - a->time);
else
@@ -81,7 +81,7 @@ compar(va, vb)
#define MIN(t) (((t) % SECAHOUR) / SECAMIN)
#define SEC(t) ((t) % SECAMIN)
-char *
+const char *
timestr(t)
int t;
{