aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-10 15:26:15 +0000
committerDan Nicolaescu2008-07-10 15:26:15 +0000
commitc5e7567d3b4aa6caeebcd7e43171f3a84b1a3e8f (patch)
tree6e786d883a8a5d64a420bb707248daf4fa810835 /src/s
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.
Diffstat (limited to 'src/s')
-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
11 files changed, 2 insertions, 42 deletions
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