From 5ff78ede5ea1a80c654d3f0684cd5f36d5253ae1 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 21 Mar 1995 15:03:38 +0000 Subject: clean up import --- cribbage/instr.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'cribbage/instr.c') 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 #include #include #include -#include + +#include #include #include #include +#include + +#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); -- cgit v1.2.3-56-ge451