diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-17 23:54:48 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-17 23:54:48 +0000 |
commit | 90b44520803cb30d9db888f46d36c484a622630e (patch) | |
tree | 11767cbbdb6eeab60a619bb4936d2b29cb89b045 /games/caesar/caesar.c | |
parent | 2f634fcf3f197c2025cb9ecfe92ff432c93a1504 (diff) |
From netbsd:
Removed "extern int errno"; Added #include <errno.h> if not already present.
Diffstat (limited to 'games/caesar/caesar.c')
-rw-r--r-- | games/caesar/caesar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/caesar/caesar.c b/games/caesar/caesar.c index de5a2e8a620..80e41acf187 100644 --- a/games/caesar/caesar.c +++ b/games/caesar/caesar.c @@ -1,4 +1,4 @@ -/* $NetBSD: caesar.c,v 1.3 1995/03/21 15:08:21 cgd Exp $ */ +/* $NetBSD: caesar.c,v 1.4 1996/02/06 22:47:15 jtc Exp $ */ /* * Copyright (c) 1989, 1993 @@ -51,7 +51,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)caesar.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: caesar.c,v 1.3 1995/03/21 15:08:21 cgd Exp $"; +static char rcsid[] = "$NetBSD: caesar.c,v 1.4 1996/02/06 22:47:15 jtc Exp $"; #endif #endif /* not lint */ @@ -59,6 +59,7 @@ static char rcsid[] = "$NetBSD: caesar.c,v 1.3 1995/03/21 15:08:21 cgd Exp $"; #include <stdio.h> #include <ctype.h> #include <unistd.h> +#include <errno.h> #define LINELENGTH 2048 #define ROTATE(ch, perm) \ @@ -79,7 +80,6 @@ main(argc, argv) int argc; char **argv; { - extern int errno; register int ch, dot, i, nread, winnerdot; register char *inbuf; int obs[26], try, winner; |