mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
* mem-limits.h (SIZE): Remove; no longer used.
This commit is contained in:
parent
3c3a05dfb7
commit
d96be9fc87
3 changed files with 7 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-06-14 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
|
||||
* mem-limits.h (SIZE): Remove; no longer used.
|
||||
|
||||
2011-06-13 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works.
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@ extern int etext;
|
|||
# endif
|
||||
#endif
|
||||
|
||||
typedef unsigned long SIZE;
|
||||
|
||||
extern char *start_of_data (void);
|
||||
#if defined USE_LSB_TAG
|
||||
#define EXCEEDS_LISP_PTR(ptr) 0
|
||||
|
|
|
|||
|
|
@ -166,9 +166,9 @@ static void
|
|||
check_memory_limits (void)
|
||||
{
|
||||
#ifdef REL_ALLOC
|
||||
extern POINTER (*real_morecore) (SIZE);
|
||||
extern POINTER (*real_morecore) (long);
|
||||
#endif
|
||||
extern POINTER (*__morecore) (SIZE);
|
||||
extern POINTER (*__morecore) (long);
|
||||
|
||||
register POINTER cp;
|
||||
unsigned long five_percent;
|
||||
|
|
@ -297,4 +297,3 @@ memory_warnings (POINTER start, void (*warnfun) (const char *))
|
|||
/* Force data limit to be recalculated on each run. */
|
||||
lim_data = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue