diff options
Diffstat (limited to 'eel/eel-debug.c')
-rw-r--r-- | eel/eel-debug.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/eel/eel-debug.c b/eel/eel-debug.c index 25bfaceb..46ad3330 100644 --- a/eel/eel-debug.c +++ b/eel/eel-debug.c @@ -74,34 +74,6 @@ eel_make_warnings_and_criticals_stop_in_debugger (void) g_log_set_default_handler (log_handler, NULL); } -int -eel_get_available_file_descriptor_count (void) -{ - int count; - GList *list; - GList *p; - FILE *file; - - list = NULL; - for (count = 0; ; count++) - { - file = fopen ("/dev/null", "r"); - if (file == NULL) - { - break; - } - list = g_list_prepend (list, file); - } - - for (p = list; p != NULL; p = p->next) - { - fclose (p->data); - } - g_list_free (list); - - return count; -} - void eel_debug_shut_down (void) { |