summaryrefslogtreecommitdiff
path: root/libc/inet/ns_netint.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-07-13 00:30:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-08-26 09:29:52 +0200
commit466f11015f44dd6be48bc0295196a83421bceea5 (patch)
tree523f094649a86d9aeae4bf77b398c0c545a495cb /libc/inet/ns_netint.c
parent6ca582ff96ae373e635a275626af1243a81d63a4 (diff)
inet/resolv: add ns_{put,get}{16,32}
This patch introduces a new config directive 'UCLIBC_HAS_RESOLVER_SUPPORT' and adds the new symbols conditionally. Signed-off-by: Daniel Mack <zonque@gmail.com>
Diffstat (limited to 'libc/inet/ns_netint.c')
-rw-r--r--libc/inet/ns_netint.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/inet/ns_netint.c b/libc/inet/ns_netint.c
new file mode 100644
index 000000000..acf88dc68
--- /dev/null
+++ b/libc/inet/ns_netint.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ns_netint
+#include RESOLVER