You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/03/28 11:09:06 UTC

[incubator-nuttx] branch master updated: sim: Appease a few prototype warnings

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 40d7f83  sim: Appease a few prototype warnings
40d7f83 is described below

commit 40d7f83e31555cc946b8f6346eb649800cd285a7
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Sat Mar 28 19:39:34 2020 +0900

    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 0e98c72..13e0d29 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)
     {