summaryrefslogtreecommitdiffstats
path: root/hack/hack.options.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-05 00:37:43 +0000
committerchristos <christos@NetBSD.org>2001-02-05 00:37:43 +0000
commitdfc4e173d46d915ee76e5e481a35c6ce6c385633 (patch)
tree8a1aba09a64bec7fa75d106118c7ef0a7faff206 /hack/hack.options.c
parent005f15c78e408f76e79e10fe47c2b0a59f754c02 (diff)
downloadbsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.tar.gz
bsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.tar.zst
bsdgames-darwin-dfc4e173d46d915ee76e5e481a35c6ce6c385633.zip
fix redundant decls and nested externs. while I am here change my copyright
to TNF.
Diffstat (limited to 'hack/hack.options.c')
-rw-r--r--hack/hack.options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.options.c b/hack/hack.options.c
index e9f30473..1bccb4d3 100644
--- a/hack/hack.options.c
+++ b/hack/hack.options.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.options.c,v 1.4 1997/10/19 16:58:42 christos Exp $ */
+/* $NetBSD: hack.options.c,v 1.5 2001/02/05 00:37:43 christos Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@@ -6,10 +6,11 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.options.c,v 1.4 1997/10/19 16:58:42 christos Exp $");
+__RCSID("$NetBSD: hack.options.c,v 1.5 2001/02/05 00:37:43 christos Exp $");
#endif /* not lint */
#include <stdlib.h>
+#include <unistd.h>
#include "hack.h"
#include "extern.h"
@@ -121,7 +122,6 @@ parseoptions(opts, from_env)
while (*op) {
num = 1;
if (digit(*op)) {
-/*###124 [cc] warning: implicit declaration of function `atoi'%%%*/
num = atoi(op);
while (digit(*op))
op++;