summaryrefslogtreecommitdiff
path: root/src/vm-limit.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-13 21:49:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-13 21:49:24 -0700
commitd96be9fc873bfb4ff7d144c95c577537038e5e26 (patch)
tree4e688c74caa756126b557b201f9aa7bc72980e9e /src/vm-limit.c
parent3c3a05dfb70656c56f60666a8c32a28d85f072fb (diff)
downloademacs-d96be9fc873bfb4ff7d144c95c577537038e5e26.tar.gz
* vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
* mem-limits.h (SIZE): Remove; no longer used.
Diffstat (limited to 'src/vm-limit.c')
-rw-r--r--src/vm-limit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vm-limit.c b/src/vm-limit.c
index 4694608602f..846946b41c1 100644
--- a/src/vm-limit.c
+++ b/src/vm-limit.c
@@ -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;
}
-