summaryrefslogtreecommitdiffstats
path: root/hack/hack.unix.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.unix.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.unix.c')
-rw-r--r--hack/hack.unix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hack/hack.unix.c b/hack/hack.unix.c
index d640138d..a1f3d715 100644
--- a/hack/hack.unix.c
+++ b/hack/hack.unix.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.unix.c,v 1.6 1999/04/25 19:08:34 kristerw Exp $ */
+/* $NetBSD: hack.unix.c,v 1.7 2001/02/05 00:37:43 christos Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.unix.c,v 1.6 1999/04/25 19:08:34 kristerw Exp $");
+__RCSID("$NetBSD: hack.unix.c,v 1.7 2001/02/05 00:37:43 christos Exp $");
#endif /* not lint */
/* This file collects some Unix dependencies; hack.pager.c contains some more */
@@ -36,6 +36,8 @@ __RCSID("$NetBSD: hack.unix.c,v 1.6 1999/04/25 19:08:34 kristerw Exp $");
#include "hack.h" /* mainly for strchr() which depends on BSD */
#include "extern.h"
+extern int locknum;
+
void
setrandom()
@@ -209,7 +211,6 @@ veryold(fd)
void
getlock()
{
- extern int hackpid, locknum;
int i = 0, fd;
(void) fflush(stdout);