aboutsummaryrefslogtreecommitdiffstats
path: root/bad/speakup-build-fix.patch
blob: aee4cda4c814e15f9a1dcf9bd32280a85716e32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From akpm@osdl.org Fri Jul  8 23:55:58 2005
Message-Id: <200507090653.j696rgG3020431@shell0.pdx.osdl.net>
Subject: SPEAKUP: build fix
To: akpm@osdl.org, greg@kroah.com, mm-commits@vger.kernel.org
From: akpm@osdl.org
Date: Fri, 08 Jul 2005 23:53:05 -0700


From: Andrew Morton <akpm@osdl.org>

drivers/char/speakup/speakup.c:81: error: static declaration of 'errno' follows non-static declaration
include/linux/unistd.h:4: error: previous declaration of 'errno' was here

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


---
 drivers/char/speakup/speakup.c |    1 -
 1 file changed, 1 deletion(-)

--- gregkh-2.6.orig/drivers/char/speakup/speakup.c
+++ gregkh-2.6/drivers/char/speakup/speakup.c
@@ -78,7 +78,6 @@ extern short punc_masks[];
 static special_func special_handler = NULL;
 special_func help_handler = NULL;
 
-static int errno;
 int synth_file_inuse = 0;
 short pitch_shift = 0, synth_flags = 0;
 static char buf[256];