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:
95a85e0
)
"implement" getnetbyaddr and getnetbyname
author
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Jul 2011 06:52:06 +0000
(
02:52
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Jul 2011 06:52:06 +0000
(
02:52
-0400)
these are useless legacy functions but some old software contains
cruft that expects them to exist...
src/network/netname.c
[new file with mode: 0644]
patch
|
blob
diff --git a/src/network/netname.c
b/src/network/netname.c
new file mode 100644
(file)
index 0000000..
ba6e665
--- /dev/null
+++ b/
src/network/netname.c
@@ -0,0
+1,12
@@
+#include <netdb.h>
+
+struct netent *getnetbyaddr(uint32_t net, int type)
+{
+ return 0;
+}
+
+struct netent *getnetbyname(const char *name)
+{
+ return 0;
+}
+