projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'remotes/fml/master'
[paraslash.git]
/
gui_common.c
diff --git
a/gui_common.c
b/gui_common.c
index dc3450a8410b3002e6a4e41f0a548d2f8efd8e9f..6bd54081ba1fbd5f45d0249419e9ec752c04041e 100644
(file)
--- a/
gui_common.c
+++ b/
gui_common.c
@@
-14,8
+14,6
@@
#include "string.h"
#include "fd.h"
#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};
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;
int ret = para_exec_cmdline_pid(&pid, cmd, fds);
if (ret < 0)
return ret;
- ret = mark_fd_nonblock(fds[1]);
+ ret = mark_fd_nonblock
ing
(fds[1]);
if (ret > 0)
return fds[1];
close(fds[1]);
if (ret > 0)
return fds[1];
close(fds[1]);