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 /warp/intrp.c | |
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 'warp/intrp.c')
-rw-r--r-- | warp/intrp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/warp/intrp.c b/warp/intrp.c index 1a88da3d..1c91c5ec 100644 --- a/warp/intrp.c +++ b/warp/intrp.c @@ -2,13 +2,13 @@ * * Revision 7.0.1.2 86/12/12 16:59:04 lwall * Baseline for net release. - * + * * Revision 7.0.1.1 86/10/16 10:51:43 lwall * Added Damage. Fixed random bugs. - * + * * Revision 7.0 86/10/08 15:12:19 lwall * Split into separate files. Added amoebas and pirates. - * + * */ #include "EXTERN.h" @@ -58,7 +58,7 @@ intrp_init(char *tcbuf) if (logname == NULL) logname = savestr(getlogin()); #endif - + /* get the real name of the person (%N) */ /* Must be done after logname is read in because BERKNAMES uses that */ @@ -306,7 +306,7 @@ dointerp(char *dest, size_t destsize, const char *pattern, const char *stoppers) case '(': { char rch; bool matched; - + pattern = dointerp(dest,destsize,pattern+1,"!="); rch = *pattern; if (rch == '!') @@ -472,9 +472,9 @@ dointerp(char *dest, size_t destsize, const char *pattern, const char *stoppers) else if (*pattern == '\\' && pattern[1]) { ++pattern; /* skip backslash */ i = *pattern; /* get char into a register */ - + /* this used to be a switch but the if may save space */ - + if (i >= '0' && i <= '7') { i = 1; while (i < 01000 && *pattern >= '0' && *pattern <= '7') { @@ -527,7 +527,7 @@ getrealname(uid_t uid) #ifdef PASSNAMES struct passwd *pwd = getpwuid(uid); - + s = pwd->pw_gecos; #ifdef BERKNAMES #ifdef BERKJUNK |