From 65ac0ead568e2d20aba09e6b177b05a219a4e38d Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 12 Oct 1997 14:17:27 +0000 Subject: deprecate auto --- fortune/fortune/fortune.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c index 77aff721..16f14bdb 100644 --- a/fortune/fortune/fortune.c +++ b/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $NetBSD: fortune.c,v 1.9 1997/10/10 13:04:39 lukem Exp $ */ +/* $NetBSD: fortune.c,v 1.10 1997/10/12 14:17:27 lukem Exp $ */ /*- * Copyright (c) 1986, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\ #if 0 static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fortune.c,v 1.9 1997/10/10 13:04:39 lukem Exp $"); +__RCSID("$NetBSD: fortune.c,v 1.10 1997/10/12 14:17:27 lukem Exp $"); #endif #endif /* not lint */ @@ -638,7 +638,7 @@ all_forts(fp, offensive) char *sp; FILEDESC *scene, *obscene; int fd; - auto char *datfile, *posfile; + char *datfile, *posfile; if (fp->child != NULL) /* this is a directory, not a file */ return; @@ -686,8 +686,8 @@ add_dir(fp) { DIR *dir; struct dirent *dirent; - auto FILEDESC *tailp; - auto char *name; + FILEDESC *tailp; + char *name; (void) close(fp->fd); fp->fd = -1; @@ -723,7 +723,7 @@ int is_dir(file) char *file; { - auto struct stat sbuf; + struct stat sbuf; if (stat(file, &sbuf) < 0) return FALSE; @@ -1120,7 +1120,7 @@ void get_tbl(fp) FILEDESC *fp; { - auto int fd; + int fd; FILEDESC *child; if (fp->read_tbl) -- cgit v1.2.3