02_Reverse-lookup-support.diff
[paraslash.git] / gui_common.c
index dc3450a8410b3002e6a4e41f0a548d2f8efd8e9f..6bd54081ba1fbd5f45d0249419e9ec752c04041e 100644 (file)
@@ -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]);