From 6267dec9c994556fa09a1f244c8dea227a3bfd21 Mon Sep 17 00:00:00 2001 From: jsm Date: Mon, 26 Jan 2004 09:58:35 +0000 Subject: Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99 function. --- cribbage/crib.c | 6 +++--- cribbage/cribbage.h | 4 ++-- cribbage/io.c | 6 +++--- 3 files changed, 8 insertions(+), 8 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(); diff --git a/cribbage/cribbage.h b/cribbage/cribbage.h index c9b45c17..978ae135 100644 --- a/cribbage/cribbage.h +++ b/cribbage/cribbage.h @@ -1,4 +1,4 @@ -/* $NetBSD: cribbage.h,v 1.9 2003/08/07 09:37:09 agc Exp $ */ +/* $NetBSD: cribbage.h,v 1.10 2004/01/26 09:58:35 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -102,7 +102,7 @@ void printcard __P((WINDOW *, int, CARD, BOOLEAN)); void prpeg __P((int, int, BOOLEAN)); void prtable __P((int)); int readchar __P((void)); -void rint __P((int)) __attribute__((__noreturn__)); +void receive_intr __P((int)) __attribute__((__noreturn__)); int score __P((BOOLEAN)); int scorehand __P((const CARD [], CARD, int, BOOLEAN, BOOLEAN)); void shuffle __P((CARD [])); diff --git a/cribbage/io.c b/cribbage/io.c index 422b02da..591e0c43 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.16 2003/08/07 09:37:10 agc Exp $ */ +/* $NetBSD: io.c,v 1.17 2004/01/26 09:58:35 jsm Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: io.c,v 1.16 2003/08/07 09:37:10 agc Exp $"); +__RCSID("$NetBSD: io.c,v 1.17 2004/01/26 09:58:35 jsm Exp $"); #endif #endif /* not lint */ @@ -582,7 +582,7 @@ getline() } void -rint(signo) +receive_intr(signo) int signo __attribute__((__unused__)); { bye(); -- cgit v1.2.3-56-ge451