From dfc4e173d46d915ee76e5e481a35c6ce6c385633 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 5 Feb 2001 00:37:43 +0000 Subject: fix redundant decls and nested externs. while I am here change my copyright to TNF. --- hack/hack.unix.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hack/hack.unix.c') 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 #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); -- cgit v1.2.3