Commit d96be9fc authored by Paul Eggert's avatar Paul Eggert

* vm-limit.c (check_memory_limits): Fix incorrect extern function decls.

* mem-limits.h (SIZE): Remove; no longer used.
parent 3c3a05df
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> 2011-06-13 Paul Eggert <eggert@cs.ucla.edu>
* xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works. * xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works.
......
...@@ -33,8 +33,6 @@ extern int etext; ...@@ -33,8 +33,6 @@ extern int etext;
# endif # endif
#endif #endif
typedef unsigned long SIZE;
extern char *start_of_data (void); extern char *start_of_data (void);
#if defined USE_LSB_TAG #if defined USE_LSB_TAG
#define EXCEEDS_LISP_PTR(ptr) 0 #define EXCEEDS_LISP_PTR(ptr) 0
......
...@@ -166,9 +166,9 @@ static void ...@@ -166,9 +166,9 @@ static void
check_memory_limits (void) check_memory_limits (void)
{ {
#ifdef REL_ALLOC #ifdef REL_ALLOC
extern POINTER (*real_morecore) (SIZE); extern POINTER (*real_morecore) (long);
#endif #endif
extern POINTER (*__morecore) (SIZE); extern POINTER (*__morecore) (long);
register POINTER cp; register POINTER cp;
unsigned long five_percent; unsigned long five_percent;
...@@ -297,4 +297,3 @@ memory_warnings (POINTER start, void (*warnfun) (const char *)) ...@@ -297,4 +297,3 @@ memory_warnings (POINTER start, void (*warnfun) (const char *))
/* Force data limit to be recalculated on each run. */ /* Force data limit to be recalculated on each run. */
lim_data = 0; lim_data = 0;
} }
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