diff options
author | Roland McGrath <roland@gnu.org> | 1992-10-12 19:10:02 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1992-10-12 19:10:02 +0000 |
commit | aa3e02cec000874705b3a6fb2cbc9eb4f0b0117d (patch) | |
tree | 1d1f447695720fcf09dce79d551d745f5984b47b /src/mem-limits.h | |
parent | e231fd422ebaab39dd7b4d46542900954227f8bd (diff) | |
download | emacs-aa3e02cec000874705b3a6fb2cbc9eb4f0b0117d.tar.gz |
(start_of_data): Removed extra defn.
(get_lim_data): Define to return void.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r-- | src/mem-limits.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h index e249e92e540..3e7c66da3be 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h @@ -66,12 +66,9 @@ static POINTER data_space_start; /* Number of bytes of writable memory we can expect to be able to get */ static unsigned int lim_data; -#ifndef emacs -#define start_of_data (void *) &_end -#endif - #ifdef USG +void get_lim_data () { extern long ulimit (); @@ -88,6 +85,7 @@ get_lim_data () #else /* not USG */ #ifndef BSD4_2 +void get_lim_data () { lim_data = vlimit (LIM_DATA, -1); @@ -95,6 +93,7 @@ get_lim_data () #else /* BSD4_2 */ +void get_lim_data () { struct rlimit XXrlimit; |