changeset 96583:82045a035109

* s/vms.h: * s/usg5-4-2.h: * s/sol2-5.h: * s/freebsd.h: * s/darwin.h: Remove dead code.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 10 Jul 2008 03:26:06 +0000
parents 60af59227f03
children 601491fd81ae
files src/ChangeLog src/s/darwin.h src/s/freebsd.h src/s/sol2-5.h src/s/usg5-4-2.h src/s/vms.h
diffstat 6 files changed, 6 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/ChangeLog	Thu Jul 10 03:26:06 2008 +0000
@@ -1,5 +1,11 @@
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* s/vms.h:
+	* s/usg5-4-2.h:
+	* s/sol2-5.h:
+	* s/freebsd.h:
+	* s/darwin.h: Remove dead code.
+
 	* m/template.h:
 	* m/sparc.h:
 	* m/mips.h:
--- a/src/s/darwin.h	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/s/darwin.h	Thu Jul 10 03:26:06 2008 +0000
@@ -30,13 +30,6 @@
 #define BSD_SYSTEM
 /* #define VMS */
 
-#if 0 /* Don't define DARWIN on Mac OS X because CoreFoundation.h uses
-	 it to distinguish Mac OS X from bare Darwin.  */
-#ifndef	DARWIN
-#define	DARWIN 1
-#endif
-#endif
-
 /* MAC_OS is used to conditionally compile code common to both MAC_OS8
    and MAC_OSX.  */
 #ifdef MAC_OSX
--- a/src/s/freebsd.h	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/s/freebsd.h	Thu Jul 10 03:26:06 2008 +0000
@@ -114,9 +114,6 @@
 
 #define HAVE_WAIT_HEADER
 #define HAVE_GETLOADAVG 1
-#if 0
-#define HAVE_GETPAGESIZE  /* configure now puts this in config.h */
-#endif
 #define HAVE_TERMIOS
 #define NO_TERMIO
 #define DECLARE_GETPWUID_WITH_UID_T
@@ -135,16 +132,6 @@
 #define BSD_SYSTEM 199506
 #endif
 
-#if 0  /* Shouldn't be necessary and produces warnings with the
-          experimental Autoconf test.  */
-#define WAITTYPE int
-/* get this since it won't be included if WAITTYPE is defined */
-#ifdef emacs
-#include <sys/wait.h>
-#endif
-#define WRETCODE(w) (_W_INT(w) >> 8)
-#endif
-
 /* Don't close pty in process.c to make it as controlling terminal.
    It is already a controlling terminal of subprocess, because we did
    ioctl TIOCSCTTY.  */
--- a/src/s/sol2-5.h	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/s/sol2-5.h	Thu Jul 10 03:26:06 2008 +0000
@@ -2,10 +2,6 @@
 
 #include "sol2-4.h"
 
-#if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails.  */
-#undef BROKEN_SIGIO
-#endif
-
 /* -lgen is needed for the regex and regcmp functions
    which are used by Motif.  In the future we can try changing
    regex.c to provide them in Emacs, but this is safer for now.  */
--- a/src/s/usg5-4-2.h	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/s/usg5-4-2.h	Thu Jul 10 03:26:06 2008 +0000
@@ -23,10 +23,6 @@
 
 /* fnf@cygnus.com says these exist.  */
 #define HAVE_TCATTR
-#if 0 /* autoconf should take care of this.  */
-#define HAVE_GETHOSTNAME
-#define HAVE_RANDOM
-#endif
 /* #define HAVE_GETWD  (appears to be buggy on SVR4.2) */
 #undef HAVE_GETWD
 
--- a/src/s/vms.h	Thu Jul 10 02:53:44 2008 +0000
+++ b/src/s/vms.h	Thu Jul 10 03:26:06 2008 +0000
@@ -210,11 +210,6 @@
 /* Case conflicts with C library srandom. */
 #define Srandom S_random
 
-/* variable length too long... maybe */
-#if 0
-#define do_line_insertion_deletion_costs do_line_insertion_deletion_cost
-#endif
-
 /* Cause initialization of vmsfns.c to be run.  */
 #define SYMS_SYSTEM syms_of_vmsfns ()