diff options
author | jsm <jsm@NetBSD.org> | 2004-01-26 09:58:35 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-01-26 09:58:35 +0000 |
commit | 6267dec9c994556fa09a1f244c8dea227a3bfd21 (patch) | |
tree | 3fe31a1f33d7de5d66ab821c0868b409d262374d /cribbage/crib.c | |
parent | 2cf7b416821e2d2059bd77eeb013ebc917c09073 (diff) | |
download | bsdgames-darwin-6267dec9c994556fa09a1f244c8dea227a3bfd21.tar.gz bsdgames-darwin-6267dec9c994556fa09a1f244c8dea227a3bfd21.tar.zst bsdgames-darwin-6267dec9c994556fa09a1f244c8dea227a3bfd21.zip |
Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99
function.
Diffstat (limited to 'cribbage/crib.c')
-rw-r--r-- | cribbage/crib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/crib.c b/cribbage/crib.c index 2fec863c..0581c018 100644 --- a/cribbage/crib.c +++ b/cribbage/crib.c @@ -1,4 +1,4 @@ -/* $NetBSD: crib.c,v 1.17 2003/08/07 09:37:09 agc Exp $ */ +/* $NetBSD: crib.c,v 1.18 2004/01/26 09:58:35 jsm Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)crib.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: crib.c,v 1.17 2003/08/07 09:37:09 agc Exp $"); +__RCSID("$NetBSD: crib.c,v 1.18 2004/01/26 09:58:35 jsm Exp $"); #endif #endif /* not lint */ @@ -107,7 +107,7 @@ main(argc, argv) } initscr(); - (void)signal(SIGINT, rint); + (void)signal(SIGINT, receive_intr); cbreak(); noecho(); |