From 5646864937ac7b8e37889d1baa81e306e4962817 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 21 Jul 2002 14:17:24 +0000 Subject: [PATCH] (end_of_text, end_of_data): Unused functions deleted. --- src/ChangeLog | 2 ++ src/sysdep.c | 37 ------------------------------------- 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ef5e2ccbdd2..af49678c5f8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-07-21 Ken Raeburn + * sysdep.c (end_of_text, end_of_data): Unused functions deleted. + * buffer.c (mmap_realloc): When shrinking, make sure number of pages to unmap is rounded towards zero. diff --git a/src/sysdep.c b/src/sysdep.c index 7569c71e860..6eb079075e7 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2260,43 +2260,6 @@ start_of_data () #endif /* DATA_START */ } #endif /* NEED_STARTS (not CANNOT_DUMP or not SYSTEM_MALLOC) */ - -#ifndef CANNOT_DUMP -/* Some systems that cannot dump also cannot implement these. */ - -/* - * Return the address of the end of the text segment prior to - * doing an unexec. After unexec the return value is undefined. - */ - -char * -end_of_text () -{ -#ifdef TEXT_END - return ((char *) TEXT_END); -#else - extern int etext; - return ((char *) &etext); -#endif -} - -/* - * Return the address of the end of the data segment prior to - * doing an unexec. After unexec the return value is undefined. - */ - -char * -end_of_data () -{ -#ifdef DATA_END - return ((char *) DATA_END); -#else - extern int edata; - return ((char *) &edata); -#endif -} - -#endif /* not CANNOT_DUMP */ /* init_system_name sets up the string for the Lisp function system-name to return. */ -- 2.39.2