diff options
author | Alexander Færøy <ahf@0x90.dk> | 2015-09-20 20:54:29 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2015-09-20 21:28:14 +0200 |
commit | 29cf546ee4d5c1af1042d6fbeaae150ecc545d4a (patch) | |
tree | a8162bab5da2e1ad0436817aed7548c37c4381af /src/fe-text/irssi.c | |
parent | 9586766d87820bdfa9e7cbe805f5ed4b7b0378e5 (diff) | |
download | irssi-29cf546ee4d5c1af1042d6fbeaae150ecc545d4a.zip |
Remove Garbage Collection support.
GC support was never enabled by default and nobody in the current
development team seems to care about it.
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 6d5b9b13..b1fa5e22 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -286,22 +286,6 @@ static void winsock_init(void) } #endif -#ifdef USE_GC -#ifdef HAVE_GC_H -# include <gc.h> -#else -# include <gc/gc.h> -#endif - -GMemVTable gc_mem_table = { - GC_malloc, - GC_realloc, - GC_free, - - NULL, NULL, NULL -}; -#endif - int main(int argc, char **argv) { static int version = 0; @@ -312,10 +296,6 @@ int main(int argc, char **argv) }; int loglev; -#ifdef USE_GC - g_mem_set_vtable(&gc_mem_table); -#endif - core_register_options(); fe_common_core_register_options(); args_register(options); @@ -369,9 +349,6 @@ int main(int argc, char **argv) /* Does the same as g_main_run(main_loop), except we can call our dirty-checker after each iteration */ while (!quitting) { -#ifdef USE_GC - GC_collect_a_little(); -#endif if (!dummy) term_refresh_freeze(); g_main_iteration(TRUE); if (!dummy) term_refresh_thaw(); |