mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: screen.c,v screen.c,v 1.18 2003/08/07 09:37:48 agc Exp $ */
|
||||
/* $NetBSD: screen.c,v screen.c,v 1.19 2004/01/27 20:30:30 jsm Exp $ */
|
||||
/* For Linux: still using old termcap interface from version 1.13. */
|
||||
|
||||
/*-
|
||||
@@ -61,10 +61,10 @@ static cell curscreen[B_SIZE]; /* 1 => standout (or otherwise marked) */
|
||||
static int curscore;
|
||||
static int isset; /* true => terminal is in game mode */
|
||||
static struct termios oldtt;
|
||||
static void (*tstp) __P((int));
|
||||
static void (*tstp)(int);
|
||||
|
||||
static void scr_stop __P((int));
|
||||
static void stopset __P((int)) __attribute__((__noreturn__));
|
||||
static void scr_stop(int);
|
||||
static void stopset(int) __attribute__((__noreturn__));
|
||||
|
||||
|
||||
/*
|
||||
@@ -251,7 +251,7 @@ scr_set()
|
||||
struct winsize ws;
|
||||
struct termios newtt;
|
||||
sigset_t sigset, osigset;
|
||||
void (*ttou) __P((int));
|
||||
void (*ttou)(int);
|
||||
|
||||
sigemptyset(&sigset);
|
||||
sigaddset(&sigset, SIGTSTP);
|
||||
|
||||
Reference in New Issue
Block a user