summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-ag
blob: c43af22d1310cfbefe3ee7a0a6239542909f06a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ag,v 1.4 2016/06/11 12:54:24 rillig Exp $

Use the definition of errno from <errno.h>.

--- builtins/psize.c.orig	2008-08-14 19:56:53.000000000 +0000
+++ builtins/psize.c
@@ -41,10 +41,6 @@
 #include "../general.h"
 #include "../sig.h"
 
-#ifndef errno
-extern int errno;
-#endif
-
 int nw;
 
 sighandler