diff options
Diffstat (limited to 'nopsyncd/l_pipe.c')
-rw-r--r-- | nopsyncd/l_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nopsyncd/l_pipe.c b/nopsyncd/l_pipe.c index 6f5a17a..5a99809 100644 --- a/nopsyncd/l_pipe.c +++ b/nopsyncd/l_pipe.c @@ -35,11 +35,10 @@ int pipe_init() return pipe(pipefds_); } -int pipe_close() +void pipe_close() { close(pipefds_[0]); close(pipefds_[1]); - return 0; } static int l_pipe_signal(lua_State *L) |