diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-02 00:05:09 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-02 00:05:09 -0700 |
commit | 986011195e5c40b9644c21da166c12cb34176350 (patch) | |
tree | 524d8a827c58aa109eeaba640241a881950430e7 /src/vm-limit.c | |
parent | c49d071ad0904c8700dc64fff24abde0ba7d10c4 (diff) | |
download | emacs-986011195e5c40b9644c21da166c12cb34176350.tar.gz |
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.c | 16 |
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/>. */ #include "lisp.h" #endif -#ifndef emacs -#include <stddef.h> -typedef size_t SIZE; -typedef void *POINTER; -#define EXCEEDS_LISP_PTR(x) 0 -#endif - #include "mem-limits.h" #ifdef HAVE_GETRLIMIT @@ -58,14 +51,6 @@ static POINTER data_space_start; static unsigned long lim_data; -#ifdef NO_LIM_DATA -static void -get_lim_data () -{ - lim_data = -1; -} -#else /* not NO_LIM_DATA */ - #if defined (HAVE_GETRLIMIT) && defined (RLIMIT_AS) static void get_lim_data () @@ -181,7 +166,6 @@ get_lim_data () #endif /* not WINDOWSNT */ #endif /* not USG */ #endif /* not HAVE_GETRLIMIT */ -#endif /* not NO_LIM_DATA */ /* Verify amount of memory available, complaining if we're near the end. */ |