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 /morse | |
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 'morse')
-rw-r--r-- | morse/morse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/morse/morse.c b/morse/morse.c index 823d35d7..686b8885 100644 --- a/morse/morse.c +++ b/morse/morse.c @@ -1,4 +1,4 @@ -/* $NetBSD: morse.c,v 1.18 2018/01/16 06:20:24 maya Exp $ */ +/* $NetBSD: morse.c,v 1.19 2021/05/02 12:50:45 rillig Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\ #if 0 static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: morse.c,v 1.18 2018/01/16 06:20:24 maya Exp $"); +__RCSID("$NetBSD: morse.c,v 1.19 2021/05/02 12:50:45 rillig Exp $"); #endif #endif /* not lint */ @@ -195,7 +195,7 @@ main(int argc, char **argv) morse(ch); show("...-.-"); /* SK */ } - + return 0; } @@ -203,13 +203,13 @@ void decode(const char *s) { int i; - + for (i = 0; i < 10; i++) if (strcmp(digit[i], s) == 0) { putchar('0' + i); return; } - + for (i = 0; i < 26; i++) if (strcmp(alph[i], s) == 0) { putchar('A' + i); |