Module Name:    src
Committed By:   dholland
Date:           Sun Mar 30 05:53:12 UTC 2014

Modified Files:
        src/games/hunt/huntd: answer.c hunt.h

Log Message:
Use bool (not int) for a boolean return type.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/games/hunt/huntd/answer.c
cvs rdiff -u -r1.30 -r1.31 src/games/hunt/huntd/hunt.h

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

Modified files:

Index: src/games/hunt/huntd/answer.c
diff -u src/games/hunt/huntd/answer.c:1.22 src/games/hunt/huntd/answer.c:1.23
--- src/games/hunt/huntd/answer.c:1.22	Sun Mar 30 05:30:28 2014
+++ src/games/hunt/huntd/answer.c	Sun Mar 30 05:53:12 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: answer.c,v 1.22 2014/03/30 05:30:28 dholland Exp $	*/
+/*	$NetBSD: answer.c,v 1.23 2014/03/30 05:53:12 dholland Exp $	*/
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: answer.c,v 1.22 2014/03/30 05:30:28 dholland Exp $");
+__RCSID("$NetBSD: answer.c,v 1.23 2014/03/30 05:53:12 dholland Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -54,7 +54,7 @@ static IDENT *get_ident(uint32_t, uint32
 static void stmonitor(PLAYER *);
 static void stplayer(PLAYER *, int);
 
-int
+bool
 answer(void)
 {
 	PLAYER *pp;

Index: src/games/hunt/huntd/hunt.h
diff -u src/games/hunt/huntd/hunt.h:1.30 src/games/hunt/huntd/hunt.h:1.31
--- src/games/hunt/huntd/hunt.h:1.30	Sun Mar 30 05:30:28 2014
+++ src/games/hunt/huntd/hunt.h	Sun Mar 30 05:53:12 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: hunt.h,v 1.30 2014/03/30 05:30:28 dholland Exp $	*/
+/*	$NetBSD: hunt.h,v 1.31 2014/03/30 05:53:12 dholland Exp $	*/
 
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
@@ -160,7 +160,7 @@ extern PLAYER Monitor[MAXMON], *End_moni
  */
 
 /* in answer.c */
-int answer(void);
+bool answer(void);
 int rand_dir(void);
 
 /* in draw.c */

Reply via email to