$NetBSD: patch-ah,v 1.1 2005/12/29 19:55:22 joerg Exp $

--- sys/unix/unixunix.c.orig	2005-12-29 19:53:12.000000000 +0000
+++ sys/unix/unixunix.c
@@ -172,7 +172,6 @@ eraseoldlocks()
 void
 getlock()
 {
-	extern int errno;
 	register int i = 0, fd, c;
 	const char *fq_lock;
 
