diff options
author | cgd <cgd@NetBSD.org> | 1995-03-21 15:03:38 +0000 |
---|---|---|
committer | cgd <cgd@NetBSD.org> | 1995-03-21 15:03:38 +0000 |
commit | 5ff78ede5ea1a80c654d3f0684cd5f36d5253ae1 (patch) | |
tree | 81a19a5b24b0353e8cbac8b1f0ad82be1cf16323 /cribbage/instr.c | |
parent | 45171656c266fc63f08d074d856b5ae99ac29211 (diff) | |
download | bsdgames-darwin-5ff78ede5ea1a80c654d3f0684cd5f36d5253ae1.tar.gz bsdgames-darwin-5ff78ede5ea1a80c654d3f0684cd5f36d5253ae1.tar.zst bsdgames-darwin-5ff78ede5ea1a80c654d3f0684cd5f36d5253ae1.zip |
clean up import
Diffstat (limited to 'cribbage/instr.c')
-rw-r--r-- | cribbage/instr.c | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c index 181cc2f6..b4ecda0d 100644 --- a/cribbage/instr.c +++ b/cribbage/instr.c @@ -1,6 +1,8 @@ +/* $NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $ */ + /*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,20 +34,29 @@ */ #ifndef lint -/*static char sccsid[] = "from: @(#)instr.c 5.2 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: instr.c,v 1.2 1993/08/01 18:55:13 mycroft Exp $"; +#if 0 +static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93"; +#else +static char rcsid[] = "$NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $"; +#endif #endif /* not lint */ #include <sys/types.h> #include <sys/wait.h> #include <sys/errno.h> #include <sys/stat.h> -#include <unistd.h> + +#include <curses.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> + +#include "deck.h" +#include "cribbage.h" #include "pathnames.h" +void instructions() { extern int errno; @@ -59,7 +70,7 @@ instructions() strerror(errno)); exit(1); } - switch(pid = vfork()) { + switch (pid = vfork()) { case -1: (void)fprintf(stderr, "cribbage: %s.\n", strerror(errno)); exit(1); |