Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/dab Const the player type variable.
details: https://anonhg.NetBSD.org/src/rev/9dcb88758cf1
branches: trunk
changeset: 556836:9dcb88758cf1
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Dec 28 17:53:48 2003 +0000
description:
Const the player type variable.
diffstat:
games/dab/main.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ac99e87a6704 -r 9dcb88758cf1 games/dab/main.cc
--- a/games/dab/main.cc Sun Dec 28 17:49:10 2003 +0000
+++ b/games/dab/main.cc Sun Dec 28 17:53:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.cc,v 1.1 2003/12/27 01:16:55 christos Exp $ */
+/* $NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
* main.C: Main dots program
*/
#include "defs.h"
-RCSID("$NetBSD: main.cc,v 1.1 2003/12/27 01:16:55 christos Exp $")
+RCSID("$NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $")
#include <iostream>
#include <unistd.h>
@@ -106,7 +106,7 @@
int main(int argc, char** argv)
{
size_t ny, nx, nn = 1, wt = 0;
- char* nc = "ch";
+ const char* nc = "ch";
int c;
int acs = 1;
Home |
Main Index |
Thread Index |
Old Index