aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-10 03:26:06 +0000
committerDan Nicolaescu2008-07-10 03:26:06 +0000
commit3460e0b90dd70af33913bf398cad3742e87b09c1 (patch)
tree0b3cee2606a9555641995660b9ce5926798bfe57 /src
parent41394ff0583191293aa7343ea2e1b592b934aeed (diff)
downloademacs-3460e0b90dd70af33913bf398cad3742e87b09c1.tar.gz
emacs-3460e0b90dd70af33913bf398cad3742e87b09c1.zip
* s/vms.h:
* s/usg5-4-2.h: * s/sol2-5.h: * s/freebsd.h: * s/darwin.h: Remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/s/darwin.h7
-rw-r--r--src/s/freebsd.h13
-rw-r--r--src/s/sol2-5.h4
-rw-r--r--src/s/usg5-4-2.h4
-rw-r--r--src/s/vms.h5
6 files changed, 6 insertions, 33 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 993e21fdae4..d648b8a90d0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
12008-07-10 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-10 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/vms.h:
4 * s/usg5-4-2.h:
5 * s/sol2-5.h:
6 * s/freebsd.h:
7 * s/darwin.h: Remove dead code.
8
3 * m/template.h: 9 * m/template.h:
4 * m/sparc.h: 10 * m/sparc.h:
5 * m/mips.h: 11 * m/mips.h:
diff --git a/src/s/darwin.h b/src/s/darwin.h
index aa509b75af5..4e282e99a9d 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -30,13 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
30#define BSD_SYSTEM 30#define BSD_SYSTEM
31/* #define VMS */ 31/* #define VMS */
32 32
33#if 0 /* Don't define DARWIN on Mac OS X because CoreFoundation.h uses
34 it to distinguish Mac OS X from bare Darwin. */
35#ifndef DARWIN
36#define DARWIN 1
37#endif
38#endif
39
40/* MAC_OS is used to conditionally compile code common to both MAC_OS8 33/* MAC_OS is used to conditionally compile code common to both MAC_OS8
41 and MAC_OSX. */ 34 and MAC_OSX. */
42#ifdef MAC_OSX 35#ifdef MAC_OSX
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 843a34b6fe0..11df2001f86 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -114,9 +114,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
114 114
115#define HAVE_WAIT_HEADER 115#define HAVE_WAIT_HEADER
116#define HAVE_GETLOADAVG 1 116#define HAVE_GETLOADAVG 1
117#if 0
118#define HAVE_GETPAGESIZE /* configure now puts this in config.h */
119#endif
120#define HAVE_TERMIOS 117#define HAVE_TERMIOS
121#define NO_TERMIO 118#define NO_TERMIO
122#define DECLARE_GETPWUID_WITH_UID_T 119#define DECLARE_GETPWUID_WITH_UID_T
@@ -135,16 +132,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
135#define BSD_SYSTEM 199506 132#define BSD_SYSTEM 199506
136#endif 133#endif
137 134
138#if 0 /* Shouldn't be necessary and produces warnings with the
139 experimental Autoconf test. */
140#define WAITTYPE int
141/* get this since it won't be included if WAITTYPE is defined */
142#ifdef emacs
143#include <sys/wait.h>
144#endif
145#define WRETCODE(w) (_W_INT(w) >> 8)
146#endif
147
148/* Don't close pty in process.c to make it as controlling terminal. 135/* Don't close pty in process.c to make it as controlling terminal.
149 It is already a controlling terminal of subprocess, because we did 136 It is already a controlling terminal of subprocess, because we did
150 ioctl TIOCSCTTY. */ 137 ioctl TIOCSCTTY. */
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h
index e02f0b82bc0..90163987e69 100644
--- a/src/s/sol2-5.h
+++ b/src/s/sol2-5.h
@@ -2,10 +2,6 @@
2 2
3#include "sol2-4.h" 3#include "sol2-4.h"
4 4
5#if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails. */
6#undef BROKEN_SIGIO
7#endif
8
9/* -lgen is needed for the regex and regcmp functions 5/* -lgen is needed for the regex and regcmp functions
10 which are used by Motif. In the future we can try changing 6 which are used by Motif. In the future we can try changing
11 regex.c to provide them in Emacs, but this is safer for now. */ 7 regex.c to provide them in Emacs, but this is safer for now. */
diff --git a/src/s/usg5-4-2.h b/src/s/usg5-4-2.h
index c7ab09a7032..c6ee7ac5d32 100644
--- a/src/s/usg5-4-2.h
+++ b/src/s/usg5-4-2.h
@@ -23,10 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 23
24/* fnf@cygnus.com says these exist. */ 24/* fnf@cygnus.com says these exist. */
25#define HAVE_TCATTR 25#define HAVE_TCATTR
26#if 0 /* autoconf should take care of this. */
27#define HAVE_GETHOSTNAME
28#define HAVE_RANDOM
29#endif
30/* #define HAVE_GETWD (appears to be buggy on SVR4.2) */ 26/* #define HAVE_GETWD (appears to be buggy on SVR4.2) */
31#undef HAVE_GETWD 27#undef HAVE_GETWD
32 28
diff --git a/src/s/vms.h b/src/s/vms.h
index 3e7ad89ecfc..78e82736a68 100644
--- a/src/s/vms.h
+++ b/src/s/vms.h
@@ -210,11 +210,6 @@ extern double mth$dmod(double, double);
210/* Case conflicts with C library srandom. */ 210/* Case conflicts with C library srandom. */
211#define Srandom S_random 211#define Srandom S_random
212 212
213/* variable length too long... maybe */
214#if 0
215#define do_line_insertion_deletion_costs do_line_insertion_deletion_cost
216#endif
217
218/* Cause initialization of vmsfns.c to be run. */ 213/* Cause initialization of vmsfns.c to be run. */
219#define SYMS_SYSTEM syms_of_vmsfns () 214#define SYMS_SYSTEM syms_of_vmsfns ()
220 215