aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-10 15:26:15 +0000
committerDan Nicolaescu2008-07-10 15:26:15 +0000
commitc5e7567d3b4aa6caeebcd7e43171f3a84b1a3e8f (patch)
tree6e786d883a8a5d64a420bb707248daf4fa810835
parent176fe5fc8db729697828350a5ba288a5477ff092 (diff)
downloademacs-c5e7567d3b4aa6caeebcd7e43171f3a84b1a3e8f.tar.gz
emacs-c5e7567d3b4aa6caeebcd7e43171f3a84b1a3e8f.zip
* src/fileio.c:
* src/sysdep.c * src/systty.h: * src/m/ibmrs6000.h: * src/m/iris4d.h: * src/s/aix4-2.h: * src/s/freebsd.h: * src/s/gnu-linux.h: * src/s/hpux10-20.h: * src/s/hpux11.h: * src/s/netbsd.h: * src/s/sol2-3.h: * src/s/sol2-4.h: * src/s/sol2.h: * src/s/usg5-4.h: * src/s/vms.h: Remove references to unused variables.
-rw-r--r--admin/CPP-DEFINES21
-rw-r--r--src/ChangeLog19
-rw-r--r--src/fileio.c23
-rw-r--r--src/m/ibmrs6000.h9
-rw-r--r--src/m/iris4d.h11
-rw-r--r--src/s/aix4-2.h4
-rw-r--r--src/s/freebsd.h2
-rw-r--r--src/s/gnu-linux.h8
-rw-r--r--src/s/hpux10-20.h6
-rw-r--r--src/s/hpux11.h2
-rw-r--r--src/s/netbsd.h2
-rw-r--r--src/s/sol2-3.h3
-rw-r--r--src/s/sol2-4.h2
-rw-r--r--src/s/sol2.h5
-rw-r--r--src/s/usg5-4.h5
-rw-r--r--src/s/vms.h5
-rw-r--r--src/sysdep.c8
-rw-r--r--src/systty.h4
18 files changed, 23 insertions, 116 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index a72c25320d2..0af13230d9e 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -69,9 +69,6 @@ BROKEN_SIGAIO
69BROKEN_SIGIO 69BROKEN_SIGIO
70BROKEN_SIGPOLL 70BROKEN_SIGPOLL
71BROKEN_SIGPTY 71BROKEN_SIGPTY
72BROKEN_TIOCGETC
73BROKEN_TIOCGWINSZ
74BROKEN_XLISTFONTSWITHINFO
75BSD4_2 72BSD4_2
76BSD4_3 73BSD4_3
77BSD_PGRPS 74BSD_PGRPS
@@ -106,12 +103,10 @@ EMACS_CONFIG_OPTIONS
106EMACS_INT 103EMACS_INT
107EMACS_UINT 104EMACS_UINT
108END_FILES_1 105END_FILES_1
109EXEC_SUFFIXES
110EXPLICIT_SIGN_EXTEND 106EXPLICIT_SIGN_EXTEND
111FILE_SYSTEM_CASE 107FILE_SYSTEM_CASE
112FIRST_PTY_LETTER 108FIRST_PTY_LETTER
113FLOAT_CHECK_DOMAIN 109FLOAT_CHECK_DOMAIN
114FORCE_ALLOCA_H
115FSCALE 110FSCALE
116Fread 111Fread
117GAP_USE_BCOPY 112GAP_USE_BCOPY
@@ -132,7 +127,6 @@ HAVE_BCOPY
132HAVE_CBRT 127HAVE_CBRT
133HAVE_CLOSEDIR 128HAVE_CLOSEDIR
134HAVE_CRTIN 129HAVE_CRTIN
135HAVE_CRTN
136HAVE_DUP2 130HAVE_DUP2
137HAVE_EUIDACCESS 131HAVE_EUIDACCESS
138HAVE_FACES 132HAVE_FACES
@@ -215,8 +209,6 @@ HAVE_WINDOW_SYSTEM
215HAVE_WORKING_VFORK 209HAVE_WORKING_VFORK
216HAVE_XRMSETDATABASE 210HAVE_XRMSETDATABASE
217HPUX 211HPUX
218HPUX11
219HPUX_NET
220IBMR2AIX 212IBMR2AIX
221INHIBIT_X11R6_XIM 213INHIBIT_X11R6_XIM
222INTERNAL_TERMINAL 214INTERNAL_TERMINAL
@@ -252,7 +244,6 @@ LINKER
252LINK_CRTL_SHARE 244LINK_CRTL_SHARE
253LINUX 245LINUX
254LINUX_SBRK_BUG 246LINUX_SBRK_BUG
255LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK
256LISP_FLOAT_TYPE 247LISP_FLOAT_TYPE
257LNOFLSH 248LNOFLSH
258LOAD_AVE_CVT 249LOAD_AVE_CVT
@@ -264,7 +255,7 @@ MAIL_USE_POP
264MAIL_USE_SYSTEM_LOCK 255MAIL_USE_SYSTEM_LOCK
265MAXPATHLEN 256MAXPATHLEN
266MAX_PRINT_CHARS 257MAX_PRINT_CHARS
267MIN_PTY_KERNEL_VERSION 258MIN_PTY_KERNEL_VERSION -- only used on Mac
268MODE_LINE_BINARY_TEXT 259MODE_LINE_BINARY_TEXT
269MULTI_KBOARD 260MULTI_KBOARD
270MUST_UNDEF__STDC__ 261MUST_UNDEF__STDC__
@@ -283,7 +274,6 @@ NOT_USING_MOTIF
283NO_ABORT 274NO_ABORT
284NO_ARG_ARRAY 275NO_ARG_ARRAY
285NO_EDITRES 276NO_EDITRES
286NO_FILIO_H
287NO_HYPHENS_IN_FILENAMES 277NO_HYPHENS_IN_FILENAMES
288NO_MATHERR 278NO_MATHERR
289NO_REMAP 279NO_REMAP
@@ -297,7 +287,6 @@ NSIG_MINIMUM
297NULL 287NULL
298NULL_DEVICE 288NULL_DEVICE
299N_BADMAG 289N_BADMAG
300N_BSSADDR
301N_PAGSIZ 290N_PAGSIZ
302N_SYMOFF 291N_SYMOFF
303N_TRELOFF 292N_TRELOFF
@@ -333,7 +322,6 @@ SEPCHAR
333SETPGRP_RELEASES_CTTY 322SETPGRP_RELEASES_CTTY
334SETUP_SLAVE_PTY 323SETUP_SLAVE_PTY
335SHARABLE_LIB_BUG 324SHARABLE_LIB_BUG
336SHMKEY
337SIGALRM 325SIGALRM
338SIGCHLD 326SIGCHLD
339SIGHUP 327SIGHUP
@@ -344,9 +332,7 @@ SIGPIPE
344SIGQUIT 332SIGQUIT
345SIGTRAP 333SIGTRAP
346SIGTYPE 334SIGTYPE
347SOCKLEN_TYPE
348SOLARIS2 335SOLARIS2
349SOLARIS2_4
350SPECIAL_EMACS_INT 336SPECIAL_EMACS_INT
351START_FILES 337START_FILES
352START_FILES_1 338START_FILES_1
@@ -354,14 +340,12 @@ STDC_HEADERS
354SYMS_SYSTEM 340SYMS_SYSTEM
355SYSTEM_PURESIZE_EXTRA 341SYSTEM_PURESIZE_EXTRA
356SYSTEM_TYPE 342SYSTEM_TYPE
357SYSV_STREAMS
358SYSV_SYSTEM_DIR 343SYSV_SYSTEM_DIR
359S_IFLNK 344S_IFLNK
360Srandom 345Srandom
361TAB3 346TAB3
362TABDLY 347TABDLY
363TERM 348TERM
364TERMCAP_NAME
365TERMINFO 349TERMINFO
366TEXT_END 350TEXT_END
367TEXT_START 351TEXT_START
@@ -395,7 +379,6 @@ XOS_NEEDS_TIME_H
395XPNTR 379XPNTR
396XSET 380XSET
397XUINT 381XUINT
398X_DEFAULT_FONT
399_AIX 382_AIX
400_ARCH_PPC64 383_ARCH_PPC64
401_CALLBACK_ 384_CALLBACK_
@@ -411,7 +394,6 @@ __ELF__
411__FreeBSD__ 394__FreeBSD__
412__FreeBSD_version 395__FreeBSD_version
413__GNUC__ 396__GNUC__
414__LITTLE_ENDIAN
415__NetBSD__ 397__NetBSD__
416__OpenBSD__ 398__OpenBSD__
417__STDC__ 399__STDC__
@@ -440,7 +422,6 @@ close
440const 422const
441creat 423creat
442ctime 424ctime
443drem
444dup 425dup
445dup2 426dup2
446edata 427edata
diff --git a/src/ChangeLog b/src/ChangeLog
index a7578f2fe65..c88e7884cfe 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12008-07-10 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * src/fileio.c:
4 * src/sysdep.c
5 * src/systty.h:
6 * src/m/ibmrs6000.h:
7 * src/m/iris4d.h:
8 * src/s/aix4-2.h:
9 * src/s/freebsd.h:
10 * src/s/gnu-linux.h:
11 * src/s/hpux10-20.h:
12 * src/s/hpux11.h:
13 * src/s/netbsd.h:
14 * src/s/sol2-3.h:
15 * src/s/sol2-4.h:
16 * src/s/sol2.h:
17 * src/s/usg5-4.h:
18 * src/s/vms.h: Remove references to unused variables.
19
12008-07-10 Andreas Schwab <schwab@suse.de> 202008-07-10 Andreas Schwab <schwab@suse.de>
2 21
3 * ftfont.c (ftfont_resolve_generic_family): Remove foundry from 22 * ftfont.c (ftfont_resolve_generic_family): Remove foundry from
diff --git a/src/fileio.c b/src/fileio.c
index abe77e2e9ef..2544bd50e40 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2987,26 +2987,6 @@ If STRING is nil or a null string, the logical name NAME is deleted. */)
2987} 2987}
2988#endif /* VMS */ 2988#endif /* VMS */
2989 2989
2990#ifdef HPUX_NET
2991
2992DEFUN ("sysnetunam", Fsysnetunam, Ssysnetunam, 2, 2, 0,
2993 doc: /* Open a network connection to PATH using LOGIN as the login string. */)
2994 (path, login)
2995 Lisp_Object path, login;
2996{
2997 int netresult;
2998
2999 CHECK_STRING (path);
3000 CHECK_STRING (login);
3001
3002 netresult = netunam (SDATA (path), SDATA (login));
3003
3004 if (netresult == -1)
3005 return Qnil;
3006 else
3007 return Qt;
3008}
3009#endif /* HPUX_NET */
3010 2990
3011DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p, 2991DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p,
3012 1, 1, 0, 2992 1, 1, 0,
@@ -6398,9 +6378,6 @@ When non-nil, the function `move-file-to-trash' will be used by
6398#ifdef VMS 6378#ifdef VMS
6399 defsubr (&Sdefine_logical_name); 6379 defsubr (&Sdefine_logical_name);
6400#endif /* VMS */ 6380#endif /* VMS */
6401#ifdef HPUX_NET
6402 defsubr (&Ssysnetunam);
6403#endif /* HPUX_NET */
6404 defsubr (&Sfile_name_absolute_p); 6381 defsubr (&Sfile_name_absolute_p);
6405 defsubr (&Sfile_exists_p); 6382 defsubr (&Sfile_exists_p);
6406 defsubr (&Sfile_executable_p); 6383 defsubr (&Sfile_executable_p);
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index db6ebee0d78..40c74688f9f 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -86,7 +86,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
86/* Use shared memory. */ 86/* Use shared memory. */
87/* This is turned off because it does not always work. See etc/AIX.DUMP. */ 87/* This is turned off because it does not always work. See etc/AIX.DUMP. */
88/* #define HAVE_SHM */ 88/* #define HAVE_SHM */
89#define SHMKEY 5305035 /* used for shared memory code segments */
90#endif /* CANNOT_DUMP */ 89#endif /* CANNOT_DUMP */
91 90
92#define N_BADMAG(x) BADMAG(x) 91#define N_BADMAG(x) BADMAG(x)
@@ -100,11 +99,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
100#undef ADDR_CORRECT 99#undef ADDR_CORRECT
101#define ADDR_CORRECT(x) ((int)(x)) 100#define ADDR_CORRECT(x) ((int)(x))
102 101
103/* Specify the font for X to use.
104 This used to be Rom14.500; that's nice on the X server shipped with
105 the RS/6000, but it's not available on other servers. */
106#define X_DEFAULT_FONT "fixed"
107
108/* Here override various assumptions in ymakefile */ 102/* Here override various assumptions in ymakefile */
109 103
110#ifndef USG5 104#ifndef USG5
@@ -141,8 +135,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
141#define BROKEN_SIGPTY 135#define BROKEN_SIGPTY
142#define BROKEN_SIGPOLL 136#define BROKEN_SIGPOLL
143 137
144/* Don't try to include sioctl.h or ptem.h. */ 138/* Don't try to include ptem.h. */
145#undef NEED_SIOCTL
146#undef NEED_PTEM_H 139#undef NEED_PTEM_H
147 140
148#define ORDINARY_LINK 141#define ORDINARY_LINK
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index 89eee47d49b..f6fd3f245df 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -101,21 +101,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
101#define LIBS_MACHINE 101#define LIBS_MACHINE
102#define LIBS_DEBUG 102#define LIBS_DEBUG
103 103
104/* Define this if you have a fairly recent system,
105 in which crt1.o and crt1.n should be used. */
106#define HAVE_CRTN
107
108#ifndef USG5_4 104#ifndef USG5_4
109#ifdef HAVE_CRTN
110/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ 105/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */
111#define START_FILES pre-crt0.o /usr/lib/crt1.o 106#define START_FILES pre-crt0.o /usr/lib/crt1.o
112#define LIB_STANDARD -lc /usr/lib/crtn.o 107#define LIB_STANDARD -lc /usr/lib/crtn.o
113#else
114#define START_FILES pre-crt0.o /usr/lib/crt0.o
115/* The entry-point label (start of text segment) is `start', not `__start'. */
116#define DEFAULT_ENTRY_ADDRESS start
117#define LIB_STANDARD -lc
118#endif
119#endif 108#endif
120 109
121/* Use terminfo instead of termcap. */ 110/* Use terminfo instead of termcap. */
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 2b31e2c8167..9c075ead658 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -176,10 +176,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
176 It is just a guess which versions of AIX need this definition. */ 176 It is just a guess which versions of AIX need this definition. */
177#define HAVE_WAIT_HEADER 177#define HAVE_WAIT_HEADER
178 178
179/* Specify the type that the 3rd arg of `accept' points to.
180 It is just a guess which versions of AIX need this definition. */
181#define SOCKLEN_TYPE int
182
183/* olson@mcs.anl.gov says -li18n is needed by -lXm. */ 179/* olson@mcs.anl.gov says -li18n is needed by -lXm. */
184#define LIB_MOTIF -lXm -li18n 180#define LIB_MOTIF -lXm -li18n
185 181
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 11df2001f86..779d944b6f6 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -91,8 +91,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
91#define LIB_GCC -lgcc 91#define LIB_GCC -lgcc
92 92
93#ifndef N_TRELOFF 93#ifndef N_TRELOFF
94#define N_PAGSIZ(x) __LDPGSZ
95#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
96#define N_TRELOFF(x) N_RELOFF(x) 94#define N_TRELOFF(x) N_RELOFF(x)
97#endif 95#endif
98#else /* NO_SHARED_LIBS */ 96#else /* NO_SHARED_LIBS */
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 660462a679d..39b9db496fc 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -43,7 +43,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
43#include <linux/version.h> 43#include <linux/version.h>
44 44
45#if LINUX_VERSION_CODE >= 0x20400 45#if LINUX_VERSION_CODE >= 0x20400
46#define LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK 46/* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */
47#define SIGNALS_VIA_CHARACTERS
47#endif /* LINUX_VERSION_CODE >= 0x20400 */ 48#endif /* LINUX_VERSION_CODE >= 0x20400 */
48#endif /* HAVE_LINUX_VERSION_H */ 49#endif /* HAVE_LINUX_VERSION_H */
49#endif /* emacs */ 50#endif /* emacs */
@@ -223,11 +224,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
223#define C_DEBUG_SWITCH 224#define C_DEBUG_SWITCH
224#endif 225#endif
225 226
226/* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */
227#ifdef LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK
228#define SIGNALS_VIA_CHARACTERS
229#endif
230
231/* Rob Malouf <malouf@csli.stanford.edu> says: 227/* Rob Malouf <malouf@csli.stanford.edu> says:
232 SYSV IPC is standard a standard part of Linux since version 0.99pl10, 228 SYSV IPC is standard a standard part of Linux since version 0.99pl10,
233 and is a very common addition to previous versions. */ 229 and is a very common addition to previous versions. */
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 8ea24fc4dc8..8411f74191b 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -227,16 +227,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
227#undef random 227#undef random
228#undef HAVE_RANDOM 228#undef HAVE_RANDOM
229 229
230#define FORCE_ALLOCA_H
231
232/* AlainF 20-Jul-1996 says this is right. */ 230/* AlainF 20-Jul-1996 says this is right. */
233#define KERNEL_FILE "/stand/vmunix" 231#define KERNEL_FILE "/stand/vmunix"
234 232
235#ifdef HPUX_NET
236#define LIBS_SYSTEM -ln -l:libdld.sl
237#else
238#define LIBS_SYSTEM -l:libdld.sl 233#define LIBS_SYSTEM -l:libdld.sl
239#endif
240 234
241/* Rainer Malzbender <rainer@displaytech.com> says definining 235/* Rainer Malzbender <rainer@displaytech.com> says definining
242 HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20 236 HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20
diff --git a/src/s/hpux11.h b/src/s/hpux11.h
index 7bd4afb116b..3382395a90f 100644
--- a/src/s/hpux11.h
+++ b/src/s/hpux11.h
@@ -1,7 +1,5 @@
1#include "hpux10-20.h" 1#include "hpux10-20.h"
2 2
3#define HPUX11
4
5#ifdef POSIX_SIGNALS 3#ifdef POSIX_SIGNALS
6#undef POSIX_SIGNALS 4#undef POSIX_SIGNALS
7#endif 5#endif
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 0e9b0a8443d..951e00091fc 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -72,8 +72,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
72 72
73/* Try to make this work for both 0.9 and >0.9. */ 73/* Try to make this work for both 0.9 and >0.9. */
74#ifndef N_TRELOFF 74#ifndef N_TRELOFF
75#define N_PAGSIZ(x) __LDPGSZ
76#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
77#define N_TRELOFF(x) N_RELOFF(x) 75#define N_TRELOFF(x) N_RELOFF(x)
78#endif 76#endif
79#endif /* not NO_SHARED_LIBS and not ELF */ 77#endif /* not NO_SHARED_LIBS and not ELF */
diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h
index 3473eec4cb3..3adad4bf11a 100644
--- a/src/s/sol2-3.h
+++ b/src/s/sol2-3.h
@@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 21
22#include "sol2.h" 22#include "sol2.h"
23 23
24/* Solaris 2.3 has a bug in XListFontsWithInfo. */
25#define BROKEN_XLISTFONTSWITHINFO
26
27/* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */ 24/* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */
28 25
29#undef LD_SWITCH_SYSTEM 26#undef LD_SWITCH_SYSTEM
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
index 8ac97eaa6df..3cf2786c500 100644
--- a/src/s/sol2-4.h
+++ b/src/s/sol2-4.h
@@ -2,8 +2,6 @@
2 2
3#include "sol2-3.h" 3#include "sol2-3.h"
4 4
5#define SOLARIS2_4
6
7/* Get rid of -traditional and let const really do its thing. */ 5/* Get rid of -traditional and let const really do its thing. */
8 6
9#ifdef __GNUC__ 7#ifdef __GNUC__
diff --git a/src/s/sol2.h b/src/s/sol2.h
index 10733de1d0b..aa30be3675c 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -22,11 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
22 22
23#define SOLARIS2 23#define SOLARIS2
24 24
25/* eggert@twinsun.com said these work in Solaris.
26 Perhaps they work in all kinds of SVR4, but this is more conservative. */
27#undef BROKEN_TIOCGETC
28#undef BROKEN_TIOCGWINSZ
29
30/* This triggers a conditional in xfaces.c. */ 25/* This triggers a conditional in xfaces.c. */
31#define XOS_NEEDS_TIME_H 26#define XOS_NEEDS_TIME_H
32 27
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index a0309d7439a..84c357c02a2 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -201,9 +201,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
201#endif 201#endif
202 202
203#ifdef emacs 203#ifdef emacs
204#ifndef NO_FILIO_H
205#include <sys/filio.h> 204#include <sys/filio.h>
206#endif
207#include <termio.h> 205#include <termio.h>
208#include <sys/ttold.h> 206#include <sys/ttold.h>
209#include <signal.h> 207#include <signal.h>
@@ -283,9 +281,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
283 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ 281 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
284 fatal ("ioctl I_PUSH ttcompat", errno); 282 fatal ("ioctl I_PUSH ttcompat", errno);
285 283
286/* Tell x11term.c and keyboard.c we have the system V streams feature. */
287#define SYSV_STREAMS
288
289/* This definition was suggested for next release. 284/* This definition was suggested for next release.
290 So give it a try. */ 285 So give it a try. */
291#define HAVE_SOCKETS 286#define HAVE_SOCKETS
diff --git a/src/s/vms.h b/src/s/vms.h
index 78e82736a68..413c302e8c7 100644
--- a/src/s/vms.h
+++ b/src/s/vms.h
@@ -151,7 +151,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
151 151
152#ifndef _GNUC_ 152#ifndef _GNUC_
153extern double mth$dmod(double, double); 153extern double mth$dmod(double, double);
154#define drem mth$dmod
155#endif 154#endif
156 155
157/* Some time routines are missing in the VAX C RTL, or needs some 156/* Some time routines are missing in the VAX C RTL, or needs some
@@ -240,10 +239,6 @@ globalref char sdata[];
240 239
241#define NULL_DEVICE "NLA0:" 240#define NULL_DEVICE "NLA0:"
242 241
243#define TERMCAP_NAME "emacs_library:[etc]termcap.dat"
244
245#define EXEC_SUFFIXES ".exe:.com"
246
247/* Case conflict with Xlib XFree () */ 242/* Case conflict with Xlib XFree () */
248#define xfree emacs_xfree 243#define xfree emacs_xfree
249 244
diff --git a/src/sysdep.c b/src/sysdep.c
index 61a91e01878..4e9631dbba1 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -135,18 +135,10 @@ extern int errno;
135#include "systty.h" 135#include "systty.h"
136#include "syswait.h" 136#include "syswait.h"
137 137
138#ifdef BROKEN_TIOCGWINSZ
139#undef TIOCGWINSZ
140#undef TIOCSWINSZ
141#endif
142
143#if defined (USG) 138#if defined (USG)
144#include <sys/utsname.h> 139#include <sys/utsname.h>
145#include <memory.h> 140#include <memory.h>
146#if defined (TIOCGWINSZ) 141#if defined (TIOCGWINSZ)
147#ifdef NEED_SIOCTL
148#include <sys/sioctl.h>
149#endif
150#ifdef NEED_PTEM_H 142#ifdef NEED_PTEM_H
151#include <sys/stream.h> 143#include <sys/stream.h>
152#include <sys/ptem.h> 144#include <sys/ptem.h>
diff --git a/src/systty.h b/src/systty.h
index 4d9bd792a3c..799b9214e33 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -118,10 +118,6 @@ static struct sensemode {
118 118
119/* Special cases - inhibiting the use of certain features. */ 119/* Special cases - inhibiting the use of certain features. */
120 120
121#ifdef BROKEN_TIOCGETC
122#undef TIOCGETC /* Avoid confusing some conditionals that test this. */
123#endif
124
125/* Allow m- file to inhibit use of FIONREAD. */ 121/* Allow m- file to inhibit use of FIONREAD. */
126#ifdef BROKEN_FIONREAD 122#ifdef BROKEN_FIONREAD
127#undef FIONREAD 123#undef FIONREAD