Merge pull request #2294 from akoeplinger/fix-cygwin
[mono.git] / libgc / include / private / gc_priv.h
index da49c0a4952432511118edb1c15d8885bf4f4eae..ab77402e4cd466eb3e5bcc6c82d597a54386fa78 100644 (file)
@@ -403,9 +403,9 @@ void GC_print_callers GC_PROTO((struct callinfo info[NFRAMES]));
 #     define ENABLE_SIGNALS()
 #   else
 #     define DISABLE_SIGNALS() GC_disable_signals()
-       void GC_disable_signals();
+       void GC_disable_signals(void);
 #     define ENABLE_SIGNALS() GC_enable_signals()
-       void GC_enable_signals();
+       void GC_enable_signals(void);
 #   endif
 # endif
 
@@ -1214,6 +1214,8 @@ extern long GC_large_alloc_warn_suppressed;
   extern GC_bool GC_world_stopped;
 #endif
 
+extern void (*GC_notify_event) GC_PROTO((GC_EventType));
+
 /* Operations */
 # ifndef abs
 #   define abs(x)  ((x) < 0? (-(x)) : (x))
@@ -1454,6 +1456,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. */
 
+void GC_cond_register_dynamic_libraries GC_PROTO((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       */
@@ -1688,6 +1694,9 @@ void GC_finalize GC_PROTO((void));
                        /* for processing by GC_invoke_finalizers.      */
                        /* Invoked with lock.                           */
 
+void GC_process_togglerefs (void);
+       /*Process the togglerefs before GC starts */
+
 void GC_notify_or_invoke_finalizers GC_PROTO((void));
                        /* If GC_finalize_on_demand is not set, invoke  */
                        /* eligible finalizers. Otherwise:              */