summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-ai
blob: 549027a43b6e72d38c6cc74c19431244ff38add3 (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
$NetBSD: patch-ai,v 1.2 2006/01/04 17:00:32 joerg Exp $

--- src/sysdep.c.orig	2000-05-24 13:59:14.000000000 +0000
+++ src/sysdep.c
@@ -104,8 +104,6 @@ extern unsigned start __asm__ ("start");
 #endif
 #endif
 
-extern int errno;
-
 #ifdef VMS
 #include <rms.h>
 #include <ttdef.h>
@@ -2134,6 +2132,7 @@ unrequest_sigio ()
  *
  */
 
+#if !(defined (__NetBSD__) && defined (__ELF__))
 #ifndef HAVE_TEXT_START
 char *
 start_of_text ()
@@ -2151,6 +2150,7 @@ start_of_text ()
 #endif /* TEXT_START */
 }
 #endif /* not HAVE_TEXT_START */
+#endif
 
 /*
  *	Return the address of the start of the data segment prior to