You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/01/16 12:49:21 UTC

[GitHub] [incubator-nuttx] acassis edited a comment on pull request #2688: net/pkt/pkt.h: struct socket is already forward referenced.

acassis edited a comment on pull request #2688:
URL: https://github.com/apache/incubator-nuttx/pull/2688#issuecomment-761557995


   Hi @Ouss4 it is forward referenced in many place:
   ```
   $ git grep "struct socket;"
   include/nuttx/net/net.h:struct socket;  /* Forward reference */
   net/bluetooth/bluetooth.h:struct socket;                  /* Forward reference */
   net/can/can.h:struct socket;
   net/icmp/icmp.h:struct socket;    /* Forward reference */
   net/icmpv6/icmpv6.h:struct socket;       /* Forward reference */
   net/ieee802154/ieee802154.h:struct socket;                /* Forward reference */
   net/inet/inet.h:struct socket; /* Forward reference */
   net/local/local.h:struct socket;   /* Forward reference */
   net/pkt/pkt.h:struct socket;       /* Forward reference */
   net/pkt/pkt.h:struct socket;
   net/sixlowpan/sixlowpan.h:struct socket;       /* Forward reference */
   net/tcp/tcp.h:struct socket;    /* Forward reference */
   net/tcp/tcp.h:struct socket;
   net/udp/udp.h:struct socket;        /* Forward reference */
   ```
   
   We need to double check if this modification will not generate any issue in other part of the code.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org