X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fsysdeps.c;h=c837930a521f67edf02a83605e9d3002596f1094;hb=f30d0521d5d0847df94b8785d350281cb54fae1e;hp=c1e43cf8039cfc24aa0072e02b2ead5af6b08154;hpb=82b026e6376b640a4d3409a461dd6bd83708e33e;p=gnushogi.git diff --git a/gnushogi/sysdeps.c b/gnushogi/sysdeps.c index c1e43cf..c837930 100644 --- a/gnushogi/sysdeps.c +++ b/gnushogi/sysdeps.c @@ -4,11 +4,14 @@ * System-dependent functions for GNU Shogi. * * ---------------------------------------------------------------------- - * - * Copyright (c) 2012 Free Software Foundation + * Copyright (c) 1993, 1994, 1995 Matthias Mutz + * Copyright (c) 1999 Michael Vanier and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * + * Copyright (c) 1988, 1989, 1990 John Stanback + * Copyright (c) 1992 Free Software Foundation + * * This file is part of GNU SHOGI. * * GNU Shogi is free software; you can redistribute it and/or modify it @@ -91,7 +94,6 @@ ElapsedTime_FIONREAD(ElapsedTime_mode iop) int nchar; struct timeval tv; - extern int errno; if ((i = ioctl((int) 0, FIONREAD, &nchar))) { @@ -227,9 +229,6 @@ ElapsedTime_FIONREAD(ElapsedTime_mode iop) int nchar; int i; - extern int errno; - - if ((i = ioctl((int) 0, FIONREAD, &nchar))) { perror("FIONREAD");