From 40d7f83e31555cc946b8f6346eb649800cd285a7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 28 Mar 2020 19:39:34 +0900 Subject: [PATCH] sim: Appease a few prototype warnings --- arch/sim/src/sim/up_vpnkit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/sim/up_vpnkit.c b/arch/sim/src/sim/up_vpnkit.c index 0e98c72419..13e0d293c7 100644 --- a/arch/sim/src/sim/up_vpnkit.c +++ b/arch/sim/src/sim/up_vpnkit.c @@ -67,7 +67,7 @@ static bool g_connect_warned; int negotiate(int fd, struct vif_info *vif); void netdriver_setmacaddr(unsigned char *macaddr); -static int vpnkit_connect() +static int vpnkit_connect(void) { struct sockaddr_un sun; int fd; @@ -114,7 +114,7 @@ static int vpnkit_connect() return 0; } -static void vpnkit_disconnect() +static void vpnkit_disconnect(void) { if (g_vpnkit_fd == -1) {