You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/01/02 15:38:05 UTC

[incubator-nuttx] 02/03: net: tcp: Fix compile error in tcp.h

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

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

commit 6e7c761fc87ed6a665761f0c94236f8b38be323a
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Wed Jan 1 07:04:39 2020 +0900

    net: tcp: Fix compile error in tcp.h
---
 net/tcp/tcp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h
index f786d3d..5430bc4 100644
--- a/net/tcp/tcp.h
+++ b/net/tcp/tcp.h
@@ -1188,7 +1188,7 @@ int tcp_backlogadd(FAR struct tcp_conn_s *conn,
 #ifdef CONFIG_NET_TCPBACKLOG
 bool tcp_backlogavailable(FAR struct tcp_conn_s *conn);
 #else
-#  define tcp_backlogavailable(c) (false);
+#  define tcp_backlogavailable(c) (false)
 #endif
 
 /****************************************************************************