1
0
Fork 0
forked from nuttx/nuttx-update

include: header definition changed to nuttx format

fix header definition format

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2023-05-04 20:19:35 +08:00 committed by Petro Karashchenko
parent 646c41dced
commit 40d62a40a1
2 changed files with 7 additions and 7 deletions

View file

@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef _INCLUDE_NETINET_ICMP6_H
#define _INCLUDE_NETINET_ICMP6_H
#ifndef __INCLUDE_NETINET_ICMP6_H
#define __INCLUDE_NETINET_ICMP6_H
/****************************************************************************
* Included Files
@ -361,4 +361,4 @@ struct nd_opt_home_agent_info
uint16_t nd_opt_home_agent_info_lifetime;
};
#endif /* netinet/icmpv6.h */
#endif /* __INCLUDE_NETINET_ICMP6_H */

View file

@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef _INCLUDE_NETINET_IF_ETHER_H
#define _INCLUDE_NETINET_IF_ETHER_H
#ifndef __INCLUDE_NETINET_IF_ETHER_H
#define __INCLUDE_NETINET_IF_ETHER_H
/****************************************************************************
* Included Files
@ -46,7 +46,7 @@
* RFC 826.
*/
struct ether_arp
struct ether_arp
{
struct arphdr ea_hdr; /* fixed-size header */
uint8_t arp_sha[ETH_ALEN]; /* sender hardware address */
@ -61,4 +61,4 @@ struct ether_arp
#define arp_pln ea_hdr.ar_pln
#define arp_op ea_hdr.ar_op
#endif /* _INCLUDE_NETINET_IF_ETHER_H */
#endif /* __INCLUDE_NETINET_IF_ETHER_H */