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 /dm/dm.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 'dm/dm.c')
-rw-r--r-- | dm/dm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: dm.c,v 1.29 2009/08/27 00:22:28 dholland Exp $ */ +/* $NetBSD: dm.c,v 1.30 2021/05/02 12:50:44 rillig Exp $ */ /* * Copyright (c) 1987, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\ #if 0 static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dm.c,v 1.29 2009/08/27 00:22:28 dholland Exp $"); +__RCSID("$NetBSD: dm.c,v 1.30 2021/05/02 12:50:44 rillig Exp $"); #endif #endif /* not lint */ @@ -172,7 +172,7 @@ c_day(const char *s_day, const char *s_start, const char *s_stop) ct = localtime(&now); if (strcasecmp(s_day, days[ct->tm_wday])) return; - if (!isdigit((unsigned char)*s_start) || + if (!isdigit((unsigned char)*s_start) || !isdigit((unsigned char)*s_stop)) return; start = atoi(s_start); @@ -210,7 +210,7 @@ c_tty(const char *tty) * see if game can be played now. */ static void -c_game(const char *s_game, const char *s_load, const char *s_users, +c_game(const char *s_game, const char *s_load, const char *s_users, const char *s_priority) { static int found; |