aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-16 07:53:39 +0000
committerDan Nicolaescu2008-07-16 07:53:39 +0000
commit8111c2d847d234fd2c47deb9cfdce0419267f04f (patch)
tree208e2ccb04617705537d4c0173a75a21cc4f05b7
parente9a57a88592bfeb173278e7bacfe1b87bc91e0dc (diff)
downloademacs-8111c2d847d234fd2c47deb9cfdce0419267f04f.tar.gz
emacs-8111c2d847d234fd2c47deb9cfdce0419267f04f.zip
* s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
(USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not used by this configuration. * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. * unexec.c: Remove code depending on HPUX and USG_SHARED_LIBRARIES, not used with this file. Remove code depending on IRIS, unused. Remove if 0-ed code.
-rw-r--r--src/ChangeLog8
-rw-r--r--src/emacs.c12
-rw-r--r--src/s/usg5-4.h43
3 files changed, 8 insertions, 55 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8d6aeeac399..d85ed8405b7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,13 @@
12008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
4 (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
5 used by this configuration.
6 * emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
7 * unexec.c: Remove code depending on HPUX and
8 USG_SHARED_LIBRARIES, not used with this file. Remove code
9 depending on IRIS, unused. Remove if 0-ed code.
10
3 * s/template.h: Remove comments about static. 11 * s/template.h: Remove comments about static.
4 12
5 * sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove 13 * sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove
diff --git a/src/emacs.c b/src/emacs.c
index 869bdef24c4..35b2fada91f 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -226,13 +226,6 @@ extern Lisp_Object Vauto_save_list_file_name;
226 226
227extern Lisp_Object Vinhibit_redisplay; 227extern Lisp_Object Vinhibit_redisplay;
228 228
229#ifdef USG_SHARED_LIBRARIES
230/* If nonzero, this is the place to put the end of the writable segment
231 at startup. */
232
233unsigned int bss_end = 0;
234#endif
235
236/* Nonzero means running Emacs without interactive terminal. */ 229/* Nonzero means running Emacs without interactive terminal. */
237 230
238int noninteractive; 231int noninteractive;
@@ -1006,11 +999,6 @@ main (argc, argv
1006 /* Record (approximately) where the stack begins. */ 999 /* Record (approximately) where the stack begins. */
1007 stack_bottom = &stack_bottom_variable; 1000 stack_bottom = &stack_bottom_variable;
1008 1001
1009#ifdef USG_SHARED_LIBRARIES
1010 if (bss_end)
1011 brk ((void *)bss_end);
1012#endif
1013
1014 clearerr (stdin); 1002 clearerr (stdin);
1015 1003
1016#ifndef SYSTEM_MALLOC 1004#ifndef SYSTEM_MALLOC
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index 4cc8bed90be..4c2a59cc27d 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -34,10 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34 34
35#define SYSTEM_TYPE "usg-unix-v" 35#define SYSTEM_TYPE "usg-unix-v"
36 36
37/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
38
39/* #define INTERRUPT_INPUT */
40
41/* 37/*
42 * Define HAVE_TERMIO if the system provides sysV-style ioctls 38 * Define HAVE_TERMIO if the system provides sysV-style ioctls
43 * for terminal control. 39 * for terminal control.
@@ -49,20 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
49 * Define HAVE_PTYS if the system supports pty devices. 45 * Define HAVE_PTYS if the system supports pty devices.
50 */ 46 */
51 47
52/* Some versions of V.3 have this, but not all.
53 #define HAVE_PTYS */
54
55/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
56
57/* #define HAVE_SOCKETS */
58
59/*
60 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
61 * The 4.2 opendir, etc., library functions.
62 */
63
64/* #define NONSYSTEM_DIR_LIBRARY */
65
66/* 48/*
67 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir 49 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir
68 * library functions. Almost, but not quite the same as 50 * library functions. Almost, but not quite the same as
@@ -70,10 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
70 */ 52 */
71#define SYSV_SYSTEM_DIR 53#define SYSV_SYSTEM_DIR
72 54
73/* Define this symbol if your system has the functions bcopy, etc. */
74
75/* #define BSTRING */
76
77/* subprocesses should be defined if you want to 55/* subprocesses should be defined if you want to
78 have code for asynchronous subprocesses 56 have code for asynchronous subprocesses
79 (as used in M-x compile and M-x shell). 57 (as used in M-x compile and M-x shell).
@@ -81,19 +59,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
81 59
82#define subprocesses 60#define subprocesses
83 61
84/* define MAIL_USE_FLOCK if the mailer uses flock
85 to interlock access to /usr/spool/mail/$USER.
86 The alternative is that a lock file named
87 /usr/spool/mail/$USER.lock. */
88
89/* #define MAIL_USE_FLOCK */
90
91/* Define CLASH_DETECTION if you want lock files to be written
92 so that Emacs can tell instantly when you try to modify
93 a file that someone else has modified in his Emacs. */
94
95/* #define CLASH_DETECTION */
96
97/* The file containing the kernel's symbol table is called /unix. */ 62/* The file containing the kernel's symbol table is called /unix. */
98 63
99#define KERNEL_FILE "/unix" 64#define KERNEL_FILE "/unix"
@@ -103,10 +68,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
103 68
104#define LDAV_SYMBOL "avenrun" 69#define LDAV_SYMBOL "avenrun"
105 70
106/* Define this if system V IPC is available. */
107
108#define HAVE_SYSVIPC
109
110/* Special hacks needed to make Emacs run on this system. */ 71/* Special hacks needed to make Emacs run on this system. */
111 72
112/* 73/*
@@ -151,10 +112,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
151#define BSTRING 112#define BSTRING
152#endif /* HAVE_X_WINDOWS */ 113#endif /* HAVE_X_WINDOWS */
153 114
154/* Enable support for shared libraries in unexec. */
155
156#define USG_SHARED_LIBRARIES
157
158/* On USG systems signal handlers return void */ 115/* On USG systems signal handlers return void */
159 116
160#define SIGTYPE void 117#define SIGTYPE void