Skip to content

Commit

Permalink
include: header definition changed to nuttx format
Browse files Browse the repository at this point in the history
fix header definition format

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
  • Loading branch information
zhhyu7 authored and pkarashchenko committed May 4, 2023
1 parent 646c41d commit 40d62a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions include/netinet/icmp6.h
Expand Up @@ -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
Expand Down Expand Up @@ -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 */
8 changes: 4 additions & 4 deletions include/netinet/if_ether.h
Expand Up @@ -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
Expand All @@ -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 */
Expand All @@ -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 */

0 comments on commit 40d62a4

Please sign in to comment.