Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/backgammon/teachgammon Hardcore const poisoning



details:   https://anonhg.NetBSD.org/src/rev/c535fc55dc0b
branches:  trunk
changeset: 474880:c535fc55dc0b
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sun Jul 25 00:06:13 1999 +0000

description:
Hardcore const poisoning
Patch submitted by Joseph Myers <jsm28%cam.ac.uk@localhost> in PR 8057

diffstat:

 games/backgammon/teachgammon/ttext1.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r a2695e5b9a26 -r c535fc55dc0b games/backgammon/teachgammon/ttext1.c
--- a/games/backgammon/teachgammon/ttext1.c     Sat Jul 24 23:58:15 1999 +0000
+++ b/games/backgammon/teachgammon/ttext1.c     Sun Jul 25 00:06:13 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttext1.c,v 1.5 1999/02/10 12:29:48 hubertf Exp $       */
+/*     $NetBSD: ttext1.c,v 1.6 1999/07/25 00:06:13 hubertf Exp $       */
 
 /*
  * Copyright (c) 1980, 1993
@@ -38,15 +38,15 @@
 #if 0
 static char sccsid[] = "@(#)ttext1.c   8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: ttext1.c,v 1.5 1999/02/10 12:29:48 hubertf Exp $");
+__RCSID("$NetBSD: ttext1.c,v 1.6 1999/07/25 00:06:13 hubertf Exp $");
 #endif
 #endif                         /* not lint */
 
 #include "back.h"
 #include "tutor.h"
 
-const char   *opts = " QIMRHEDSPT";
-const char   *prompt = "-->";
+const char   *const opts = " QIMRHEDSPT";
+const char   *const prompt = "-->";
 
 const char   *const list[] = {
        "\n\n\tI\tIntroduction to Backgammon",



Home | Main Index | Thread Index | Old Index