X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xshogi%2Fsysdeps.h;fp=xshogi%2Fsysdeps.h;h=0000000000000000000000000000000000000000;hb=ca6db121be811535ec9cd28a0fdcfe22c94a9b53;hp=cd410f2e4dc809fe6b7990594be4fd2c757f112d;hpb=2e0ba7d65fd8be45d46122e07ca246a762e1edb6;p=gnushogi.git diff --git a/xshogi/sysdeps.h b/xshogi/sysdeps.h deleted file mode 100644 index cd410f2..0000000 --- a/xshogi/sysdeps.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * FILE: sysdeps.h - * - * System dependencies for xshogi. - * - * ------------------------------------------------------------------------ - * xshogi is based on XBoard -- an Xt/Athena user interface for GNU Chess. - * - * Original authors: Dan Sears, Chris Sears - * Enhancements (Version 2.0 and following): Tim Mann - * Modifications to XShogi (Version 1.0): Matthias Mutz - * Enhancements to XShogi (Version 1.1): Matthias Mutz - * Modified implementation of ISS mode for XShogi: Matthias Mutz - * Current maintainer: Michael C. Vanier - * - * XShogi borrows some of its piece bitmaps from CRANES Shogi. - * - * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. - * Enhancements Copyright 1992 Free Software Foundation, Inc. - * Enhancements for XShogi Copyright 1993, 1994, 1995 Matthias Mutz - * Copyright (c) 1999 Michael Vanier and the Free Software Foundation - * - * The following terms apply to Digital Equipment Corporation's copyright - * interest in XBoard: - * ------------------------------------------------------------------------ - * All Rights Reserved - * - * Permission to use, copy, modify, and distribute this software and its - * documentation for any purpose and without fee is hereby granted, - * provided that the above copyright notice appear in all copies and that - * both that copyright notice and this permission notice appear in - * supporting documentation, and that the name of Digital not be - * used in advertising or publicity pertaining to distribution of the - * software without specific, written prior permission. - * - * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING - * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL - * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR - * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, - * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS - * SOFTWARE. - * ------------------------------------------------------------------------ - * - * This file is part of GNU shogi. - * - * GNU shogi is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation. - * - * GNU shogi is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU shogi; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * - * ------------------------------------------------------------------------ - * - */ - -#ifndef _SYSDEPS_H_ -#define _SYSDEPS_H_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Stuff that isn't reliably included (on Linux, anyway). - */ - -extern FILE *fdopen(int fd, const char *modes); -extern int fileno(FILE *stream); -extern int kill(pid_t pid, int sig); -extern int strcasecmp(const char *s1, const char *s2); -extern int gethostname(char *name, size_t len); - - -/* - * Check for POSIX-compatible wait(). - */ - -#ifdef HAVE_SYS_WAIT_H -#define WAIT0 wait((int *) 0) -#else -#define WAIT0 wait((union wait *) 0) -#endif - -#endif /* _SYSDEPS_H_ */ -