Skip to content

Commit 40d62a4

Browse files
zhhyu7pkarashchenko
authored andcommitted
include: header definition changed to nuttx format
fix header definition format Signed-off-by: zhanghongyu <[email protected]>
1 parent 646c41d commit 40d62a4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/netinet/icmp6.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*
1919
****************************************************************************/
2020

21-
#ifndef _INCLUDE_NETINET_ICMP6_H
22-
#define _INCLUDE_NETINET_ICMP6_H
21+
#ifndef __INCLUDE_NETINET_ICMP6_H
22+
#define __INCLUDE_NETINET_ICMP6_H
2323

2424
/****************************************************************************
2525
* Included Files
@@ -361,4 +361,4 @@ struct nd_opt_home_agent_info
361361
uint16_t nd_opt_home_agent_info_lifetime;
362362
};
363363

364-
#endif /* netinet/icmpv6.h */
364+
#endif /* __INCLUDE_NETINET_ICMP6_H */

include/netinet/if_ether.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*
1919
****************************************************************************/
2020

21-
#ifndef _INCLUDE_NETINET_IF_ETHER_H
22-
#define _INCLUDE_NETINET_IF_ETHER_H
21+
#ifndef __INCLUDE_NETINET_IF_ETHER_H
22+
#define __INCLUDE_NETINET_IF_ETHER_H
2323

2424
/****************************************************************************
2525
* Included Files
@@ -46,7 +46,7 @@
4646
* RFC 826.
4747
*/
4848

49-
struct ether_arp
49+
struct ether_arp
5050
{
5151
struct arphdr ea_hdr; /* fixed-size header */
5252
uint8_t arp_sha[ETH_ALEN]; /* sender hardware address */
@@ -61,4 +61,4 @@ struct ether_arp
6161
#define arp_pln ea_hdr.ar_pln
6262
#define arp_op ea_hdr.ar_op
6363

64-
#endif /* _INCLUDE_NETINET_IF_ETHER_H */
64+
#endif /* __INCLUDE_NETINET_IF_ETHER_H */

0 commit comments

Comments
 (0)