projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece0c48
)
fix netinet/ether.h for c++
author
Szabolcs Nagy
<nsz@port70.net>
Fri, 8 May 2015 08:46:50 +0000
(09:46 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 8 May 2015 12:35:16 +0000
(08:35 -0400)
include/netinet/ether.h
patch
|
blob
|
history
diff --git
a/include/netinet/ether.h
b/include/netinet/ether.h
index d64c9ef598bd2fec095ec45138c97be9ce3e5900..eec7e53ca497a4ec1041e7c29a8b5a41a801b182 100644
(file)
--- a/
include/netinet/ether.h
+++ b/
include/netinet/ether.h
@@
-1,6
+1,10
@@
#ifndef _NETINET_ETHER_H
#define _NETINET_ETHER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <netinet/if_ether.h>
char *ether_ntoa (const struct ether_addr *);
@@
-11,4
+15,8
@@
int ether_line(const char *, struct ether_addr *, char *);
int ether_ntohost(char *, const struct ether_addr *);
int ether_hostton(const char *, struct ether_addr *);
+#ifdef __cplusplus
+}
+#endif
+
#endif