aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDan Nicolaescu2010-06-06 01:57:39 -0700
committerDan Nicolaescu2010-06-06 01:57:39 -0700
commit3085237cdc02088dc5ffbdda813b768970592d1e (patch)
treed5c8d090e20ad5f05374f07f11cf413b523f40b7 /src/s
parenteccdfe5fd18f4b573e9eada179242c513b3024b1 (diff)
downloademacs-3085237cdc02088dc5ffbdda813b768970592d1e.tar.gz
emacs-3085237cdc02088dc5ffbdda813b768970592d1e.zip
Remove BSTRING related code, all platforms define it.
* src/s/usg5-4.h (BSTRING): Remove definition. * src/s/template.h (BSTRING): * src/s/msdos.h (BSTRING): * src/s/ms-w32.h (BSTRING): * src/s/hpux10-20.h (BSTRING): * src/s/gnu-linux.h (BSTRING): * src/s/darwin.h (BSTRING): * src/s/cygwin.h (BSTRING): * src/s/bsd-common.h (BSTRING): * src/s/aix4-2.h (BSTRING): Likewise. * src/sysdep.c: Remove code depending on BSTRING not being defined. * configure.in: Remove code dealing with BSTRING. * lib-src/ntlib.h: Remove code dealing with BSTRING. * nt/config.nt: Remove code depending on BSTRING.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h3
-rw-r--r--src/s/bsd-common.h3
-rw-r--r--src/s/cygwin.h3
-rw-r--r--src/s/darwin.h3
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/hpux10-20.h6
-rw-r--r--src/s/ms-w32.h2
-rw-r--r--src/s/msdos.h3
-rw-r--r--src/s/template.h3
-rw-r--r--src/s/usg5-4.h2
10 files changed, 0 insertions, 31 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 32c29675012..48f43126fd9 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -52,9 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
52 functions. Almost, but not quite the same as the 4.2 functions. */ 52 functions. Almost, but not quite the same as the 4.2 functions. */
53#define SYSV_SYSTEM_DIR 53#define SYSV_SYSTEM_DIR
54 54
55/* Define this symbol if your system has the functions bcopy, etc. */
56#define BSTRING
57
58/* The file containing the kernel's symbol table is called /unix. */ 55/* The file containing the kernel's symbol table is called /unix. */
59#define KERNEL_FILE "/unix" 56#define KERNEL_FILE "/unix"
60 57
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index 1d7ebbace13..ffb7a637488 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -71,9 +71,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
71/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 71/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
72#define HAVE_SOCKETS 72#define HAVE_SOCKETS
73 73
74/* Define this symbol if your system has the functions bcopy, etc. */
75#define BSTRING
76
77/* Define CLASH_DETECTION if you want lock files to be written 74/* Define CLASH_DETECTION if you want lock files to be written
78 so that Emacs can tell instantly when you try to modify 75 so that Emacs can tell instantly when you try to modify
79 a file that someone else has modified in his Emacs. */ 76 a file that someone else has modified in his Emacs. */
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 6204cee392b..93df925fcab 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -73,9 +73,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
73 } \ 73 } \
74 while (0) 74 while (0)
75 75
76/* Define this symbol if your system has the functions bcopy, etc. */
77#define BSTRING
78
79/* Define CLASH_DETECTION if you want lock files to be written 76/* Define CLASH_DETECTION if you want lock files to be written
80 so that Emacs can tell instantly when you try to modify 77 so that Emacs can tell instantly when you try to modify
81 a file that someone else has modified in his Emacs. */ 78 a file that someone else has modified in his Emacs. */
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 399c3d325c1..5c8db1242e1 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -99,9 +99,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
99 for process-connection-type dependent on the kernel version. */ 99 for process-connection-type dependent on the kernel version. */
100#define MIN_PTY_KERNEL_VERSION '7' 100#define MIN_PTY_KERNEL_VERSION '7'
101 101
102/* Define this symbol if your system has the functions bcopy, etc. */
103#define BSTRING
104
105/* Define CLASH_DETECTION if you want lock files to be written 102/* Define CLASH_DETECTION if you want lock files to be written
106 so that Emacs can tell instantly when you try to modify 103 so that Emacs can tell instantly when you try to modify
107 a file that someone else has modified in his Emacs. */ 104 a file that someone else has modified in his Emacs. */
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 8b63865d9f9..80092f725fc 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -89,9 +89,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
89 89
90#define HAVE_SOCKETS 90#define HAVE_SOCKETS
91 91
92/* Define this symbol if your system has the functions bcopy, etc. */
93#define BSTRING
94
95/* This is used in list_system_processes. */ 92/* This is used in list_system_processes. */
96#define HAVE_PROCFS 1 93#define HAVE_PROCFS 1
97 94
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 1a9c2056632..8d9c73e2368 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -45,12 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
45/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 45/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
46#define HAVE_SOCKETS 46#define HAVE_SOCKETS
47 47
48/* Define this symbol if your system has the functions bcopy, etc.
49 s800 and later versions of s300 (s200) kernels have equivalents
50 of the BSTRING functions of BSD. If your s200 kernel doesn't have
51 em comment out this section. */
52#define BSTRING
53
54/* Define CLASH_DETECTION if you want lock files to be written 48/* Define CLASH_DETECTION if you want lock files to be written
55 so that Emacs can tell instantly when you try to modify 49 so that Emacs can tell instantly when you try to modify
56 a file that someone else has modified in his Emacs. */ 50 a file that someone else has modified in his Emacs. */
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index 1fcf73d2578..ea32373e02b 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -63,8 +63,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
63 for received packets, so datagrams are broken too. */ 63 for received packets, so datagrams are broken too. */
64#define BROKEN_DATAGRAM_SOCKETS 1 64#define BROKEN_DATAGRAM_SOCKETS 1
65 65
66/* Define this symbol if your system has the functions bcopy, etc. */
67#define BSTRING
68#define bzero(b, l) memset(b, 0, l) 66#define bzero(b, l) memset(b, 0, l)
69#define bcopy(s, d, l) memmove(d, s, l) 67#define bcopy(s, d, l) memmove(d, s, l)
70#define bcmp(a, b, l) memcmp(a, b, l) 68#define bcmp(a, b, l) memcmp(a, b, l)
diff --git a/src/s/msdos.h b/src/s/msdos.h
index c78096c6b90..af272635968 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -42,9 +42,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
42 42
43#define SYSV_SYSTEM_DIR 43#define SYSV_SYSTEM_DIR
44 44
45/* Define this symbol if your system has the functions bcopy, etc. */
46#define BSTRING
47
48/* Define this is the compiler understands `volatile'. */ 45/* Define this is the compiler understands `volatile'. */
49#define HAVE_VOLATILE 46#define HAVE_VOLATILE
50 47
diff --git a/src/s/template.h b/src/s/template.h
index f355d67b8c6..694a1046566 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -78,9 +78,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
78/* Define HAVE_PTYS if the system supports pty devices. */ 78/* Define HAVE_PTYS if the system supports pty devices. */
79#define HAVE_PTYS 79#define HAVE_PTYS
80 80
81/* Define this symbol if your system has the functions bcopy, etc. */
82#define BSTRING
83
84/* subprocesses should be undefined if you do NOT want to 81/* subprocesses should be undefined if you do NOT want to
85 have code for asynchronous subprocesses 82 have code for asynchronous subprocesses
86 (as used in M-x compile and M-x shell). 83 (as used in M-x compile and M-x shell).
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index 9810ab3e67f..b3518d7db9f 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -63,8 +63,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
63 63
64/* If we're using the System V X port, BSD bstring functions will be handy. */ 64/* If we're using the System V X port, BSD bstring functions will be handy. */
65#ifdef HAVE_X_WINDOWS 65#ifdef HAVE_X_WINDOWS
66#define BSTRING
67#endif /* HAVE_X_WINDOWS */
68 66
69/* On USG systems signal handlers return void. */ 67/* On USG systems signal handlers return void. */
70#define SIGTYPE void 68#define SIGTYPE void