From 9e3e2a9d886f8191bccc69ccc356f683e4a0c561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulius=20Ratkevi=C4=8Dius?= Date: Tue, 21 May 2019 20:13:34 +0300 Subject: daemon: fixed some dumb mistakes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paulius Ratkevičius --- src/daemon/proto_stdio.c | 2 ++ src/daemon/proto_stdio_private.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/daemon') diff --git a/src/daemon/proto_stdio.c b/src/daemon/proto_stdio.c index 35fd467..533dc76 100644 --- a/src/daemon/proto_stdio.c +++ b/src/daemon/proto_stdio.c @@ -61,6 +61,7 @@ static void *read_stdin(void *arg) } pthread_mutex_unlock(&state.in_m); } + return NULL; } @@ -77,6 +78,7 @@ static void *write_stdout(void *arg) } pthread_mutex_unlock(&state.out_m); } + return NULL; } diff --git a/src/daemon/proto_stdio_private.h b/src/daemon/proto_stdio_private.h index 1fa48d4..4b0ab6f 100644 --- a/src/daemon/proto_stdio_private.h +++ b/src/daemon/proto_stdio_private.h @@ -21,6 +21,8 @@ #ifndef USURPATION_PROTO_STDIO_PRIVATE_H #define USURPATION_PROTO_STDIO_PRIVATE_H +#include +#include #include #include #include -- cgit v1.2.3