Source-Changes-HG archive

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

[src/trunk]: src/games/gomoku gomoku: document that 'whatsup' is called on ^C...



details:   https://anonhg.NetBSD.org/src/rev/96c6774b3423
branches:  trunk
changeset: 366478:96c6774b3423
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat May 28 21:31:41 2022 +0000

description:
gomoku: document that 'whatsup' is called on ^C as well

diffstat:

 games/gomoku/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 06e6ea0e658b -r 96c6774b3423 games/gomoku/main.c
--- a/games/gomoku/main.c       Sat May 28 21:14:56 2022 +0000
+++ b/games/gomoku/main.c       Sat May 28 21:31:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.64 2022/05/28 20:57:26 rillig Exp $ */
+/*     $NetBSD: main.c,v 1.65 2022/05/28 21:31:41 rillig Exp $ */
 
 /*
  * Copyright (c) 1994
@@ -36,7 +36,7 @@
 __COPYRIGHT("@(#) Copyright (c) 1994\
  The Regents of the University of California.  All rights reserved.");
 /*     @(#)main.c      8.4 (Berkeley) 5/4/95   */
-__RCSID("$NetBSD: main.c,v 1.64 2022/05/28 20:57:26 rillig Exp $");
+__RCSID("$NetBSD: main.c,v 1.65 2022/05/28 21:31:41 rillig Exp $");
 
 #include <sys/stat.h>
 #include <curses.h>
@@ -414,11 +414,11 @@
 
 #ifdef DEBUG
 /*
- * Handle strange situations.
+ * Handle strange situations and ^C.
  */
 /* ARGSUSED */
 void
-whatsup(int signum)
+whatsup(int signum __unused)
 {
        int i, n, s1, s2, d1, d2;
        struct spotstr *sp;



Home | Main Index | Thread Index | Old Index