summaryrefslogtreecommitdiff
path: root/gc_dlopen.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-17 10:12:52 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:50 +0400
commit8274f8d1e2e748fba76be6ddf2d09c105e7af778 (patch)
tree6ade0316134cce3c7699fe77b8be651391bed1c5 /gc_dlopen.c
parent454d418dec1eda78f7dedfebeec978a87d6ff773 (diff)
downloadbdwgc-8274f8d1e2e748fba76be6ddf2d09c105e7af778.tar.gz
2009-10-17 Ivan Maidanski <ivmai@mail.ru>
* alloc.c (GC_never_stop_func, GC_check_fl_marks, GC_finish_collection): Reformat the code (make opening bracket style uniform across the file). * allchblk.c (GC_allochblk): Ditto. * backgraph.c (add_edge): Ditto. * dbg_mlc.c (GC_marked_for_finalization): Ditto. * dyn_load.c (GC_register_dynamic_libraries, GC_init_dyld): Ditto. * finalize.c (GC_null_finalize_mark_proc): Ditto. * gc_dlopen.c (GC_dlopen): Ditto. * mark.c (GC_push_marked1, GC_push_marked2, GC_push_marked4): Ditto. * misc.c (looping_handler, GC_call_with_gc_active, GC_do_blocking_inner, GC_do_blocking): Ditto. * os_dep.c (GC_get_main_stack_base, GC_read_dirty): Ditto. * pthread_support.c (GC_pthread_create, GC_pthread_sigmask, GC_pthread_join, GC_pthread_detach, GC_check_tls, GC_do_blocking_inner, GC_call_with_gc_active): Ditto. * reclaim.c (GC_reclaim_clear, GC_reclaim_block, GC_print_free_list): Ditto. * os_dep.c (GC_page_was_dirty, GC_page_was_ever_dirty, GC_remove_protection): Reformat the code (wrap long lines).
Diffstat (limited to 'gc_dlopen.c')
-rw-r--r--gc_dlopen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc_dlopen.c b/gc_dlopen.c
index 64619848..98c699f2 100644
--- a/gc_dlopen.c
+++ b/gc_dlopen.c
@@ -90,7 +90,8 @@ GC_API void * WRAP_FUNC(dlopen)(const char *path, int mode)
/* Define GC_ function as an alias for the plain one, which will be */
/* intercepted. This allows files which include gc.h, and hence */
/* generate references to the GC_ symbol, to see the right symbol. */
- GC_API int GC_dlopen(const char *path, int mode) {
+ GC_API int GC_dlopen(const char *path, int mode)
+ {
return dlopen(path, mode);
}
#endif /* Linker-based interception. */