You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/01/16 15:39:14 UTC

[incubator-nuttx] branch master updated: net: Remove duplicate forward references.

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

xiaoxiang 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 7e3d4a5  net: Remove duplicate forward references.
7e3d4a5 is described below

commit 7e3d4a5f2975b19eda4d8a2c0975b5263c0597d2
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Sat Jan 16 00:11:38 2021 +0100

    net: Remove duplicate forward references.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 net/pkt/pkt.h | 1 -
 net/tcp/tcp.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net/pkt/pkt.h b/net/pkt/pkt.h
index 9ea68a2..133bdb7 100644
--- a/net/pkt/pkt.h
+++ b/net/pkt/pkt.h
@@ -304,7 +304,6 @@ void pkt_poll(FAR struct net_driver_s *dev, FAR struct pkt_conn_s *conn);
  *
  ****************************************************************************/
 
-struct socket;
 ssize_t psock_pkt_send(FAR struct socket *psock, FAR const void *buf,
                        size_t len);
 
diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h
index 6c625d6..df314d1 100644
--- a/net/tcp/tcp.h
+++ b/net/tcp/tcp.h
@@ -1361,7 +1361,6 @@ ssize_t psock_tcp_recvfrom(FAR struct socket *psock, FAR void *buf,
  *
  ****************************************************************************/
 
-struct socket;
 ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
                        size_t len, int flags);