summaryrefslogtreecommitdiff
path: root/shells/ast-ksh/patches/patch-ad
blob: 052cb0eeb4ac01d43005b6c47add19ac73bf7d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ad,v 1.1 2009/07/14 09:14:04 hasso Exp $

--- ./src/lib/libast/comp/errno.c.orig	2009-07-12 13:42:46 +0300
+++ ./src/lib/libast/comp/errno.c	2009-07-12 13:43:36 +0300
@@ -23,18 +23,4 @@
 
 #include <ast.h>
 
-#if _tst_errno
-
 NoN(errno)
-
-#else
-
-/*
- * this avoids multiple definitions with some libc's
- * that define both an ast library supplied routine and
- * errno in the same .o
- */
-
-int     errno;
-
-#endif