Mercurial > emacs
changeset 46591:33d141338a55
(end_of_text, end_of_data): Unused functions deleted.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Sun, 21 Jul 2002 14:17:19 +0000 |
parents | 6d61bcf4f8f4 |
children | a361f5bff765 |
files | src/sysdep.c |
diffstat | 1 files changed, 0 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sysdep.c Sun Jul 21 14:13:28 2002 +0000 +++ b/src/sysdep.c Sun Jul 21 14:17:19 2002 +0000 @@ -2260,43 +2260,6 @@ #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. */