aboutsummaryrefslogtreecommitdiffstats
path: root/src/vm-limit.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-02 00:05:09 -0700
committerDan Nicolaescu2010-07-02 00:05:09 -0700
commit986011195e5c40b9644c21da166c12cb34176350 (patch)
tree524d8a827c58aa109eeaba640241a881950430e7 /src/vm-limit.c
parentc49d071ad0904c8700dc64fff24abde0ba7d10c4 (diff)
downloademacs-986011195e5c40b9644c21da166c12cb34176350.tar.gz
emacs-986011195e5c40b9644c21da166c12cb34176350.zip
Cleanup old code.
* src/dired.c (BSD4_3): Remove all uses, redundant with BSD4_2. * src/syssignal.h: Remove code for Lynx, not supported anymore. * src/vm-limit.c: Remove unused code the depends on emacs not being defined and NO_LIM_DATA being defined. * src/mem-limits.h: Remove dead code.
Diffstat (limited to 'src/vm-limit.c')
-rw-r--r--src/vm-limit.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/vm-limit.c b/src/vm-limit.c
index a5b07eb50da..1f401601bbf 100644
--- a/src/vm-limit.c
+++ b/src/vm-limit.c
@@ -23,13 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#include "lisp.h" 23#include "lisp.h"
24#endif 24#endif
25 25
26#ifndef emacs
27#include <stddef.h>
28typedef size_t SIZE;
29typedef void *POINTER;
30#define EXCEEDS_LISP_PTR(x) 0
31#endif
32
33#include "mem-limits.h" 26#include "mem-limits.h"
34 27
35#ifdef HAVE_GETRLIMIT 28#ifdef HAVE_GETRLIMIT
@@ -58,14 +51,6 @@ static POINTER data_space_start;
58static unsigned long lim_data; 51static unsigned long lim_data;
59 52
60 53
61#ifdef NO_LIM_DATA
62static void
63get_lim_data ()
64{
65 lim_data = -1;
66}
67#else /* not NO_LIM_DATA */
68
69#if defined (HAVE_GETRLIMIT) && defined (RLIMIT_AS) 54#if defined (HAVE_GETRLIMIT) && defined (RLIMIT_AS)
70static void 55static void
71get_lim_data () 56get_lim_data ()
@@ -181,7 +166,6 @@ get_lim_data ()
181#endif /* not WINDOWSNT */ 166#endif /* not WINDOWSNT */
182#endif /* not USG */ 167#endif /* not USG */
183#endif /* not HAVE_GETRLIMIT */ 168#endif /* not HAVE_GETRLIMIT */
184#endif /* not NO_LIM_DATA */
185 169
186/* Verify amount of memory available, complaining if we're near the end. */ 170/* Verify amount of memory available, complaining if we're near the end. */
187 171