Commit 56468649 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

(end_of_text, end_of_data): Unused functions deleted.

parent 4648267b
2002-07-21 Ken Raeburn <raeburn@gnu.org>
* 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.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment