Module Name:    src
Committed By:   rillig
Date:           Sat May 28 21:31:41 UTC 2022

Modified Files:
        src/games/gomoku: main.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/games/gomoku/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/gomoku/main.c
diff -u src/games/gomoku/main.c:1.64 src/games/gomoku/main.c:1.65
--- src/games/gomoku/main.c:1.64	Sat May 28 20:57:26 2022
+++ src/games/gomoku/main.c	Sat May 28 21:31:41 2022
@@ -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 @@ readinput(FILE *fp)
 
 #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;

Reply via email to