summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-12 14:17:27 +0000
committerlukem <lukem@NetBSD.org>1997-10-12 14:17:27 +0000
commit65ac0ead568e2d20aba09e6b177b05a219a4e38d (patch)
tree725339f6967f63599f3f7774e84fdbbb8b15c641 /fortune
parent5a5bf2abf0d9a42df55b7ff2d902b35e0dd9b7de (diff)
downloadbsdgames-darwin-65ac0ead568e2d20aba09e6b177b05a219a4e38d.tar.gz
bsdgames-darwin-65ac0ead568e2d20aba09e6b177b05a219a4e38d.tar.zst
bsdgames-darwin-65ac0ead568e2d20aba09e6b177b05a219a4e38d.zip
deprecate auto
Diffstat (limited to 'fortune')
-rw-r--r--fortune/fortune/fortune.c14
1 files 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)