diff options
author | 2015-11-05 23:16:44 +0000 | |
---|---|---|
committer | 2015-11-05 23:16:44 +0000 | |
commit | 677829b8e46c4e5a10e41b4741d7487f7099ef7c (patch) | |
tree | 1f39fa1b0c242b901edbe28e6ce4be89c2c07084 | |
parent | undo botched import to wrong dir, spotted by sobrado@ (diff) | |
download | wireguard-openbsd-677829b8e46c4e5a10e41b4741d7487f7099ef7c.tar.xz wireguard-openbsd-677829b8e46c4e5a10e41b4741d7487f7099ef7c.zip |
delete unused code that won't let you play if the load is too high
-rw-r--r-- | games/canfield/canfield/canfield.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/games/canfield/canfield/canfield.c b/games/canfield/canfield/canfield.c index b45bbf0ffd9..1daa6b1bcaf 100644 --- a/games/canfield/canfield/canfield.c +++ b/games/canfield/canfield/canfield.c @@ -1,4 +1,4 @@ -/* $OpenBSD: canfield.c,v 1.14 2014/11/03 19:18:16 tedu Exp $ */ +/* $OpenBSD: canfield.c,v 1.15 2015/11/05 23:16:44 tedu Exp $ */ /* $NetBSD: canfield.c,v 1.7 1995/05/13 07:28:35 jtc Exp $ */ /* @@ -1374,9 +1374,6 @@ getcmd(int row, int col, const char *cp) void suspend(void) { -#ifndef SIGTSTP - char *sh; -#endif updatebettinginfo(); move(21, 0); @@ -1738,15 +1735,7 @@ int main(int argc, char *argv[]) { gid_t gid; -#ifdef MAXLOAD - double vec[3]; - loadav(vec); - if (vec[2] >= MAXLOAD) { - puts("The system load is too high. Try again later."); - exit(0); - } -#endif signal(SIGINT, askquit); signal(SIGHUP, cleanup); signal(SIGTERM, cleanup); |