Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d96be9fc
Commit
d96be9fc
authored
Jun 13, 2011
by
Paul Eggert
Browse files
* vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
* mem-limits.h (SIZE): Remove; no longer used.
parent
3c3a05df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
src/ChangeLog
src/ChangeLog
+5
-0
src/mem-limits.h
src/mem-limits.h
+0
-2
src/vm-limit.c
src/vm-limit.c
+2
-3
No files found.
src/ChangeLog
View file @
d96be9fc
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.
...
...
src/mem-limits.h
View file @
d96be9fc
...
...
@@ -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
...
...
src/vm-limit.c
View file @
d96be9fc
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment