projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc9dd4b
)
Fix GC_incremental declaration/definition type mismatch
author
Ivan Maidanski
<ivmai@mail.ru>
Fri, 21 Jul 2017 17:59:55 +0000
(20:59 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Fri, 21 Jul 2017 17:59:55 +0000
(20:59 +0300)
* alloc.c [!GC_DISABLE_INCREMENTAL] (GC_incremental): Change variable
type from int to GC_bool (to match that of the declaration in
gc_priv.h).
alloc.c
patch
|
blob
|
history
diff --git
a/alloc.c
b/alloc.c
index
ebbfb3e
..
885d651
100644
(file)
--- a/
alloc.c
+++ b/
alloc.c
@@
-64,7
+64,7
@@
word GC_non_gc_bytes = 0; /* Number of bytes not intended to be collected */
word GC_gc_no = 0;
#ifndef GC_DISABLE_INCREMENTAL
- GC_INNER
int GC_incremental = 0; /* By default, stop the world.
*/
+ GC_INNER
GC_bool GC_incremental = FALSE; /* By default, stop the world.
*/
#endif
#ifdef THREADS