From d1c4f261c83e26c924d75b7f053890a2811f4ff3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Jan 2009 14:53:36 +0100 Subject: event_pipe: use close() instead of xclose() xclose() aims to be the signal safe version of close(). However during cleanup, this isn't important. --- src/event_pipe.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/event_pipe.c b/src/event_pipe.c index 6fa89616f..79e667695 100644 --- a/src/event_pipe.c +++ b/src/event_pipe.c @@ -19,7 +19,6 @@ */ #include "event_pipe.h" -#include "utils.h" #include "log.h" #include @@ -104,8 +103,8 @@ void event_pipe_deinit(void) { g_mutex_free(event_pipe_mutex); - xclose(event_pipe[0]); - xclose(event_pipe[1]); + close(event_pipe[0]); + close(event_pipe[1]); } void -- cgit v1.2.3