diff options
author | rillig <rillig@NetBSD.org> | 2021-05-02 12:50:43 +0000 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-05 14:56:21 -0400 |
commit | 1c75ca2e2dc72d118edbb854455e602d70d80a52 (patch) | |
tree | a815eb983fa15e7c407095122e37acb90093be9a /rogue | |
parent | 2442661e769456700d67fac92056d18b3046633e (diff) | |
download | bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.gz bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.zst bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.zip |
games: remove trailing whitespace in *.c and *.h
Diffstat (limited to 'rogue')
-rw-r--r-- | rogue/message.c | 10 | ||||
-rw-r--r-- | rogue/save.c | 6 | ||||
-rw-r--r-- | rogue/use.c | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/rogue/message.c b/rogue/message.c index e38377de..e0295ce8 100644 --- a/rogue/message.c +++ b/rogue/message.c @@ -1,4 +1,4 @@ -/* $NetBSD: message.c,v 1.14 2009/08/12 08:44:45 dholland Exp $ */ +/* $NetBSD: message.c,v 1.15 2021/05/02 12:50:46 rillig Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)message.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: message.c,v 1.14 2009/08/12 08:44:45 dholland Exp $"); +__RCSID("$NetBSD: message.c,v 1.15 2021/05/02 12:50:46 rillig Exp $"); #endif #endif /* not lint */ @@ -149,9 +149,9 @@ check_message(void) } int -get_input_line(const char *prompt, const char *insert, - char *buf, size_t buflen, - const char *if_cancelled, +get_input_line(const char *prompt, const char *insert, + char *buf, size_t buflen, + const char *if_cancelled, boolean add_blank, boolean do_echo) { short ch; diff --git a/rogue/save.c b/rogue/save.c index 4a7190af..b9b900c6 100644 --- a/rogue/save.c +++ b/rogue/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.13 2008/01/14 03:50:02 dholland Exp $ */ +/* $NetBSD: save.c,v 1.14 2021/05/02 12:50:46 rillig Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.13 2008/01/14 03:50:02 dholland Exp $"); +__RCSID("$NetBSD: save.c,v 1.14 2021/05/02 12:50:46 rillig Exp $"); #endif #endif /* not lint */ @@ -56,7 +56,7 @@ __RCSID("$NetBSD: save.c,v 1.13 2008/01/14 03:50:02 dholland Exp $"); #include <stdio.h> #include "rogue.h" -static boolean has_been_touched(const struct rogue_time *, +static boolean has_been_touched(const struct rogue_time *, const struct rogue_time *); static void r_read(FILE *, void *, size_t); static void r_write(FILE *, const void *, size_t); diff --git a/rogue/use.c b/rogue/use.c index 8371a6f0..db90eb72 100644 --- a/rogue/use.c +++ b/rogue/use.c @@ -1,4 +1,4 @@ -/* $NetBSD: use.c,v 1.10 2009/08/12 08:44:45 dholland Exp $ */ +/* $NetBSD: use.c,v 1.11 2021/05/02 12:50:46 rillig Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)use.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: use.c,v 1.10 2009/08/12 08:44:45 dholland Exp $"); +__RCSID("$NetBSD: use.c,v 1.11 2021/05/02 12:50:46 rillig Exp $"); #endif #endif /* not lint */ @@ -65,7 +65,7 @@ short extra_hp = 0; boolean detect_monster = 0; boolean con_mon = 0; -static const char strange_feeling[] = +static const char strange_feeling[] = "you have a strange feeling for a moment, then it passes"; static const char *get_ench_color(void); |