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_ntoa.c
diff --git
a/src/network/inet_ntoa.c
b/src/network/inet_ntoa.c
deleted file mode 100644
(file)
index
71411e0
..0000000
--- a/
src/network/inet_ntoa.c
+++ /dev/null
@@
-1,10
+0,0 @@
-#include <arpa/inet.h>
-#include <stdio.h>
-
-char *inet_ntoa(struct in_addr in)
-{
- static char buf[16];
- unsigned char *a = (void *)∈
- snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]);
- return buf;
-}