summaryrefslogtreecommitdiff
path: root/editors/sam/patches/patch-aj
blob: a7af35029bff34f97170da8c4a55fac92ac23af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-aj,v 1.1 2005/10/10 16:18:04 joerg Exp $

--- samterm/unix.c.orig	2005-07-30 20:19:23.000000000 +0000
+++ samterm/unix.c
@@ -102,7 +102,6 @@ extstart(void)
 	/* Make the named pipe.  Multiple sams with the same user/display share the same pipe */
 	if (mkfifo(exname, 0600) == -1) {
 		struct stat	statb;
-		extern int	errno;
 
 		if (errno != EEXIST || stat(exname, &statb) == -1)
 			return;