projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement inet_lnaof, inet_netof, and inet_makeaddr
[musl]
/
src
/
network
/
inet_network.c
diff --git
a/src/network/inet_network.c
b/src/network/inet_network.c
deleted file mode 100644
(file)
index
ae60d7f
..0000000
--- a/
src/network/inet_network.c
+++ /dev/null
@@
-1,11
+0,0 @@
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include "__dns.h"
-
-in_addr_t inet_network(const char *p)
-{
- struct sockaddr_in sin;
- if (__ipparse(&sin, AF_INET, p)) return -1;
- return ntohl(sin.sin_addr.s_addr);
-}