summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-10-12 19:10:02 +0000
committerRoland McGrath <roland@gnu.org>1992-10-12 19:10:02 +0000
commit825ffec40dd210c3a95ea870774b3098756b6f0c (patch)
treef8b5a3165563e125228e23c118d83989e5f54dcb /src/mem-limits.h
parente7bab0327d5104de9e757a32019fbd130073099d (diff)
downloademacs-825ffec40dd210c3a95ea870774b3098756b6f0c.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.h7
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;