X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gui_common.c;h=b517d715ed4e174eb9fd4e550589db936bffafae;hp=dc3450a8410b3002e6a4e41f0a548d2f8efd8e9f;hb=5d581fbd46a6d1949bfd876aec63041dc6724eb0;hpb=3689799ede7bba230ca544ac953392b428c3d662 diff --git a/gui_common.c b/gui_common.c index dc3450a8..b517d715 100644 --- a/gui_common.c +++ b/gui_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -14,8 +14,6 @@ #include "string.h" #include "fd.h" -extern const char *status_item_list[NUM_STAT_ITEMS]; - int para_open_audiod_pipe(char *cmd) { int fds[3] = {0, 1, 0}; @@ -23,7 +21,7 @@ int para_open_audiod_pipe(char *cmd) int ret = para_exec_cmdline_pid(&pid, cmd, fds); if (ret < 0) return ret; - ret = mark_fd_nonblock(fds[1]); + ret = mark_fd_nonblocking(fds[1]); if (ret > 0) return fds[1]; close(fds[1]);