Remove excessive boilerplate duplication from dspwrappers.
[gnushogi.git] / gnushogi / sysdeps.c
index c1e43cf..c837930 100644 (file)
@@ -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");