summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-05-02 12:50:43 +0000
committerCameron Katri <me@cameronkatri.com>2021-05-05 14:56:21 -0400
commit1c75ca2e2dc72d118edbb854455e602d70d80a52 (patch)
treea815eb983fa15e7c407095122e37acb90093be9a /phantasia
parent2442661e769456700d67fac92056d18b3046633e (diff)
downloadbsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.gz
bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.zst
bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.zip
games: remove trailing whitespace in *.c and *.h
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/fight.c6
-rw-r--r--phantasia/misc.c14
-rw-r--r--phantasia/setup.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/phantasia/fight.c b/phantasia/fight.c
index 0a1ab064..5d0508e8 100644
--- a/phantasia/fight.c
+++ b/phantasia/fight.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fight.c,v 1.14 2019/02/03 03:19:25 mrg Exp $ */
+/* $NetBSD: fight.c,v 1.15 2021/05/02 12:50:46 rillig Exp $ */
/*
* fight.c Phantasia monster fighting routines
@@ -1272,7 +1272,7 @@ awardtreasure(void)
* l
* a
* r
- *
+ *
* ri
* n
* g
@@ -1290,7 +1290,7 @@ awardtreasure(void)
/* b
* a
* d
- *
+ *
* ri
* n
* g
diff --git a/phantasia/misc.c b/phantasia/misc.c
index 180d6137..21fadbab 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.22 2019/02/03 03:19:25 mrg Exp $ */
+/* $NetBSD: misc.c,v 1.23 2021/05/02 12:50:46 rillig Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -120,7 +120,7 @@ descrlocation(struct player *playerp, phbool shortflag)
label = "The Lord's Chamber";
else {
/* this
- *
+ *
* expr
* essi
* on
@@ -132,13 +132,13 @@ descrlocation(struct player *playerp, phbool shortflag)
* ent
* comp
* iler
- *
+ *
* loop
- *
+ *
* with
- *
+ *
* some
- *
+ *
* comp
* iler
* s */
@@ -151,7 +151,7 @@ descrlocation(struct player *playerp, phbool shortflag)
if (shortflag)
snprintf(Databuf, SZ_DATABUF, "%.29s", label);
else
- snprintf(Databuf, SZ_DATABUF,
+ snprintf(Databuf, SZ_DATABUF,
" is in %s (%.0f,%.0f)",
label, playerp->p_x, playerp->p_y);
diff --git a/phantasia/setup.c b/phantasia/setup.c
index a13c5211..359d84de 100644
--- a/phantasia/setup.c
+++ b/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.22 2017/10/02 22:03:10 joerg Exp $ */
+/* $NetBSD: setup.c,v 1.23 2021/05/02 12:50:46 rillig Exp $ */
/*
* setup.c - set up all files for Phantasia
@@ -43,15 +43,15 @@ double drandom(void);
/
/ RETURN VALUE: none
/
-/ MODULES CALLED: time(), exit(), stat(), Error(), creat(), close(), fopen(),
-/ fgets(), floor(), srandom(), umask(), drandom(), strcpy(), getuid(),
+/ MODULES CALLED: time(), exit(), stat(), Error(), creat(), close(), fopen(),
+/ fgets(), floor(), srandom(), umask(), drandom(), strcpy(), getuid(),
/ unlink(), fwrite(), fclose(), sscanf(), printf(), strlen(), fprintf()
/
/ GLOBAL INPUTS: Curmonster, _iob[], Databuf[], *Monstfp, Enrgyvoid
/
/ GLOBAL OUTPUTS: Curmonster, Databuf[], *Monstfp, Enrgyvoid
/
-/ DESCRIPTION:
+/ DESCRIPTION:
/
/ This program tries to verify the parameters specified in
/ the Makefile.
@@ -263,7 +263,7 @@ Error(const char *str, const char *file)
/
/ GLOBAL OUTPUTS: none
/
-/ DESCRIPTION:
+/ DESCRIPTION:
/
/ ************************************************************************/