From 1c75ca2e2dc72d118edbb854455e602d70d80a52 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 2 May 2021 12:50:43 +0000 Subject: games: remove trailing whitespace in *.c and *.h --- phantasia/fight.c | 6 +++--- phantasia/misc.c | 14 +++++++------- phantasia/setup.c | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'phantasia') 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: / / ************************************************************************/ -- cgit v1.2.3-56-ge451