copy in from cvs; cvs2svn fucked up big time

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@9775 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2003-12-19 19:12:08 +00:00
parent 351c8ca204
commit 51eabc017b
310 changed files with 7852 additions and 5005 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $ */
/* $NetBSD: misc.c,v 1.10 2002/05/26 00:12:13 wiz Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,18 +38,14 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $");
__RCSID("$NetBSD: misc.c,v 1.10 2002/05/26 00:12:13 wiz Exp $");
#endif
#endif /* not lint */
#include <sys/file.h>
#include <termios.h>
#if __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#include <stdarg.h>
#include "mille.h"
#ifndef unctrl
@@ -57,10 +53,6 @@ __RCSID("$NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $");
#endif
# ifdef attron
# include <term.h>
# endif attron
/*
* @(#)misc.c 1.2 (Berkeley) 3/28/83
*/
@@ -68,24 +60,14 @@ __RCSID("$NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $");
#define NUMSAFE 4
bool
#if __STDC__
error(const char *str, ...)
#else
error(str, va_alist)
const char *str;
va_dcl
#endif
{
va_list ap;
#if __STDC__
va_start(ap, str);
#else
va_start(ap);
#endif
wmove(Score, ERR_Y, ERR_X);
vwprintw(Score, str, ap);
clrtoeol();
wclrtoeol(Score);
putchar('\07');
refresh();
va_end(ap);