diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2014-04-18 21:33:49 +0400 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2014-04-18 21:34:49 +0400 |
commit | fb7c7e39b57ad725a6e56e8cb8623dc0b9ba263a (patch) | |
tree | b9ba2ea28a01c79d8d9157f2a02f0b64782f990a /libgc | |
parent | f07d6c58bca401788e865f9333c254a73968fa4c (diff) |
Hopefully fix a build error in libgc on some compilers.
../../libgc/alloc.c: In function ‘GC_stopped_mark’:
../../libgc/alloc.c:501:9: error: implicit declaration of function ‘GC_cond_register_dynamic_libraries’ [-Werror=implicit-function-declaration]
GC_cond_register_dynamic_libraries();
Diffstat (limited to 'libgc')
-rw-r--r-- | libgc/include/private/gc_priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgc/include/private/gc_priv.h b/libgc/include/private/gc_priv.h index 25e0fd0ca86..86b41ca8748 100644 --- a/libgc/include/private/gc_priv.h +++ b/libgc/include/private/gc_priv.h @@ -1454,6 +1454,10 @@ GC_bool GC_is_tmp_root GC_PROTO((ptr_t p)); void GC_register_dynamic_libraries GC_PROTO((void)); /* Add dynamic library data sections to the root set. */ +GC_INNER void GC_cond_register_dynamic_libraries(void); + /* Remove and reregister dynamic libraries if we're */ + /* configured to do that at each GC. */ + GC_bool GC_register_main_static_data GC_PROTO((void)); /* We need to register the main data segment. Returns */ /* TRUE unless this is done implicitly as part of */ |