From 42c9f525369ba06742d53d7a89ad00153b317de6 Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Mon, 13 Feb 2006 08:14:12 +0000
Subject: Add files for IMA. Yes, I know it's a hack and no, I won't split the
 affected files

---
 libc/inet/accept.c             | 8 ++++++++
 libc/inet/bind.c               | 8 ++++++++
 libc/inet/closenameservers.c   | 8 ++++++++
 libc/inet/connect.c            | 8 ++++++++
 libc/inet/decodea.c            | 8 ++++++++
 libc/inet/decoded.c            | 8 ++++++++
 libc/inet/decodeh.c            | 8 ++++++++
 libc/inet/decodep.c            | 8 ++++++++
 libc/inet/decodeq.c            | 8 ++++++++
 libc/inet/dnslookup.c          | 8 ++++++++
 libc/inet/encodea.c            | 8 ++++++++
 libc/inet/encoded.c            | 8 ++++++++
 libc/inet/encodeh.c            | 8 ++++++++
 libc/inet/encodep.c            | 8 ++++++++
 libc/inet/encodeq.c            | 8 ++++++++
 libc/inet/formquery.c          | 8 ++++++++
 libc/inet/get_hosts_byaddr_r.c | 8 ++++++++
 libc/inet/get_hosts_byname_r.c | 8 ++++++++
 libc/inet/gethostbyaddr.c      | 8 ++++++++
 libc/inet/gethostbyaddr_r.c    | 8 ++++++++
 libc/inet/gethostbyname.c      | 8 ++++++++
 libc/inet/gethostbyname2.c     | 8 ++++++++
 libc/inet/gethostbyname2_r.c   | 8 ++++++++
 libc/inet/gethostbyname_r.c    | 8 ++++++++
 libc/inet/gethostent.c         | 8 ++++++++
 libc/inet/getnameinfo.c        | 8 ++++++++
 libc/inet/getpeername.c        | 8 ++++++++
 libc/inet/getsockname.c        | 8 ++++++++
 libc/inet/getsockopt.c         | 8 ++++++++
 libc/inet/inet_addr.c          | 8 ++++++++
 libc/inet/inet_aton.c          | 8 ++++++++
 libc/inet/inet_lnaof.c         | 8 ++++++++
 libc/inet/inet_makeaddr.c      | 8 ++++++++
 libc/inet/inet_netof.c         | 8 ++++++++
 libc/inet/inet_ntoa.c          | 8 ++++++++
 libc/inet/lengthd.c            | 8 ++++++++
 libc/inet/lengthq.c            | 8 ++++++++
 libc/inet/listen.c             | 8 ++++++++
 libc/inet/ns_name.c            | 8 ++++++++
 libc/inet/opennameservers.c    | 8 ++++++++
 libc/inet/read_etc_hosts_r.c   | 8 ++++++++
 libc/inet/recv.c               | 8 ++++++++
 libc/inet/recvfrom.c           | 8 ++++++++
 libc/inet/recvmsg.c            | 8 ++++++++
 libc/inet/res_comp.c           | 8 ++++++++
 libc/inet/res_init.c           | 8 ++++++++
 libc/inet/res_query.c          | 8 ++++++++
 libc/inet/resolveaddress.c     | 8 ++++++++
 libc/inet/resolvename.c        | 8 ++++++++
 libc/inet/send.c               | 8 ++++++++
 libc/inet/sendmsg.c            | 8 ++++++++
 libc/inet/sendto.c             | 8 ++++++++
 libc/inet/setsockopt.c         | 8 ++++++++
 libc/inet/shutdown.c           | 8 ++++++++
 libc/inet/socket.c             | 8 ++++++++
 libc/inet/socketpair.c         | 8 ++++++++
 56 files changed, 448 insertions(+)
 create mode 100644 libc/inet/accept.c
 create mode 100644 libc/inet/bind.c
 create mode 100644 libc/inet/closenameservers.c
 create mode 100644 libc/inet/connect.c
 create mode 100644 libc/inet/decodea.c
 create mode 100644 libc/inet/decoded.c
 create mode 100644 libc/inet/decodeh.c
 create mode 100644 libc/inet/decodep.c
 create mode 100644 libc/inet/decodeq.c
 create mode 100644 libc/inet/dnslookup.c
 create mode 100644 libc/inet/encodea.c
 create mode 100644 libc/inet/encoded.c
 create mode 100644 libc/inet/encodeh.c
 create mode 100644 libc/inet/encodep.c
 create mode 100644 libc/inet/encodeq.c
 create mode 100644 libc/inet/formquery.c
 create mode 100644 libc/inet/get_hosts_byaddr_r.c
 create mode 100644 libc/inet/get_hosts_byname_r.c
 create mode 100644 libc/inet/gethostbyaddr.c
 create mode 100644 libc/inet/gethostbyaddr_r.c
 create mode 100644 libc/inet/gethostbyname.c
 create mode 100644 libc/inet/gethostbyname2.c
 create mode 100644 libc/inet/gethostbyname2_r.c
 create mode 100644 libc/inet/gethostbyname_r.c
 create mode 100644 libc/inet/gethostent.c
 create mode 100644 libc/inet/getnameinfo.c
 create mode 100644 libc/inet/getpeername.c
 create mode 100644 libc/inet/getsockname.c
 create mode 100644 libc/inet/getsockopt.c
 create mode 100644 libc/inet/inet_addr.c
 create mode 100644 libc/inet/inet_aton.c
 create mode 100644 libc/inet/inet_lnaof.c
 create mode 100644 libc/inet/inet_makeaddr.c
 create mode 100644 libc/inet/inet_netof.c
 create mode 100644 libc/inet/inet_ntoa.c
 create mode 100644 libc/inet/lengthd.c
 create mode 100644 libc/inet/lengthq.c
 create mode 100644 libc/inet/listen.c
 create mode 100644 libc/inet/ns_name.c
 create mode 100644 libc/inet/opennameservers.c
 create mode 100644 libc/inet/read_etc_hosts_r.c
 create mode 100644 libc/inet/recv.c
 create mode 100644 libc/inet/recvfrom.c
 create mode 100644 libc/inet/recvmsg.c
 create mode 100644 libc/inet/res_comp.c
 create mode 100644 libc/inet/res_init.c
 create mode 100644 libc/inet/res_query.c
 create mode 100644 libc/inet/resolveaddress.c
 create mode 100644 libc/inet/resolvename.c
 create mode 100644 libc/inet/send.c
 create mode 100644 libc/inet/sendmsg.c
 create mode 100644 libc/inet/sendto.c
 create mode 100644 libc/inet/setsockopt.c
 create mode 100644 libc/inet/shutdown.c
 create mode 100644 libc/inet/socket.c
 create mode 100644 libc/inet/socketpair.c

(limited to 'libc/inet')

diff --git a/libc/inet/accept.c b/libc/inet/accept.c
new file mode 100644
index 000000000..0217a6876
--- /dev/null
+++ b/libc/inet/accept.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_accept
+#include "socketcalls.c"
diff --git a/libc/inet/bind.c b/libc/inet/bind.c
new file mode 100644
index 000000000..d13e2262e
--- /dev/null
+++ b/libc/inet/bind.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_bind
+#include "socketcalls.c"
diff --git a/libc/inet/closenameservers.c b/libc/inet/closenameservers.c
new file mode 100644
index 000000000..ca4dae3fb
--- /dev/null
+++ b/libc/inet/closenameservers.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_closenameservers
+#include "resolv.c"
diff --git a/libc/inet/connect.c b/libc/inet/connect.c
new file mode 100644
index 000000000..bddbe16e6
--- /dev/null
+++ b/libc/inet/connect.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_connect
+#include "socketcalls.c"
diff --git a/libc/inet/decodea.c b/libc/inet/decodea.c
new file mode 100644
index 000000000..409a97843
--- /dev/null
+++ b/libc/inet/decodea.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_decodea
+#include "resolv.c"
diff --git a/libc/inet/decoded.c b/libc/inet/decoded.c
new file mode 100644
index 000000000..73849ef5f
--- /dev/null
+++ b/libc/inet/decoded.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_decoded
+#include "resolv.c"
diff --git a/libc/inet/decodeh.c b/libc/inet/decodeh.c
new file mode 100644
index 000000000..86681fa88
--- /dev/null
+++ b/libc/inet/decodeh.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_decodeh
+#include "resolv.c"
diff --git a/libc/inet/decodep.c b/libc/inet/decodep.c
new file mode 100644
index 000000000..40b0bda0d
--- /dev/null
+++ b/libc/inet/decodep.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_decodep
+#include "resolv.c"
diff --git a/libc/inet/decodeq.c b/libc/inet/decodeq.c
new file mode 100644
index 000000000..a6109677e
--- /dev/null
+++ b/libc/inet/decodeq.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_decodeq
+#include "resolv.c"
diff --git a/libc/inet/dnslookup.c b/libc/inet/dnslookup.c
new file mode 100644
index 000000000..4ffc34f0a
--- /dev/null
+++ b/libc/inet/dnslookup.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_dnslookup
+#include "resolv.c"
diff --git a/libc/inet/encodea.c b/libc/inet/encodea.c
new file mode 100644
index 000000000..628f9bad5
--- /dev/null
+++ b/libc/inet/encodea.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_encodea
+#include "resolv.c"
diff --git a/libc/inet/encoded.c b/libc/inet/encoded.c
new file mode 100644
index 000000000..d60618771
--- /dev/null
+++ b/libc/inet/encoded.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_encoded
+#include "resolv.c"
diff --git a/libc/inet/encodeh.c b/libc/inet/encodeh.c
new file mode 100644
index 000000000..1d5488017
--- /dev/null
+++ b/libc/inet/encodeh.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_encodeh
+#include "resolv.c"
diff --git a/libc/inet/encodep.c b/libc/inet/encodep.c
new file mode 100644
index 000000000..d2f248b40
--- /dev/null
+++ b/libc/inet/encodep.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_encodep
+#include "resolv.c"
diff --git a/libc/inet/encodeq.c b/libc/inet/encodeq.c
new file mode 100644
index 000000000..be1a3123b
--- /dev/null
+++ b/libc/inet/encodeq.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_encodeq
+#include "resolv.c"
diff --git a/libc/inet/formquery.c b/libc/inet/formquery.c
new file mode 100644
index 000000000..2c53e33de
--- /dev/null
+++ b/libc/inet/formquery.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_formquery
+#include "resolv.c"
diff --git a/libc/inet/get_hosts_byaddr_r.c b/libc/inet/get_hosts_byaddr_r.c
new file mode 100644
index 000000000..c377aec13
--- /dev/null
+++ b/libc/inet/get_hosts_byaddr_r.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_get_hosts_byaddr_r
+#include "resolv.c"
diff --git a/libc/inet/get_hosts_byname_r.c b/libc/inet/get_hosts_byname_r.c
new file mode 100644
index 000000000..7ad1e3fa5
--- /dev/null
+++ b/libc/inet/get_hosts_byname_r.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_get_hosts_byname_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyaddr.c b/libc/inet/gethostbyaddr.c
new file mode 100644
index 000000000..ae8a543e5
--- /dev/null
+++ b/libc/inet/gethostbyaddr.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_gethostbyaddr
+#include "resolv.c"
diff --git a/libc/inet/gethostbyaddr_r.c b/libc/inet/gethostbyaddr_r.c
new file mode 100644
index 000000000..6235c82e1
--- /dev/null
+++ b/libc/inet/gethostbyaddr_r.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_gethostbyaddr_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname.c b/libc/inet/gethostbyname.c
new file mode 100644
index 000000000..3d46ab015
--- /dev/null
+++ b/libc/inet/gethostbyname.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_gethostbyname
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname2.c b/libc/inet/gethostbyname2.c
new file mode 100644
index 000000000..685801642
--- /dev/null
+++ b/libc/inet/gethostbyname2.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_gethostbyname2
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname2_r.c b/libc/inet/gethostbyname2_r.c
new file mode 100644
index 000000000..06d058ae7
--- /dev/null
+++ b/libc/inet/gethostbyname2_r.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_gethostbyname2_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname_r.c b/libc/inet/gethostbyname_r.c
new file mode 100644
index 000000000..fc9e56da5
--- /dev/null
+++ b/libc/inet/gethostbyname_r.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_gethostbyname_r
+#include "resolv.c"
diff --git a/libc/inet/gethostent.c b/libc/inet/gethostent.c
new file mode 100644
index 000000000..16133c0e4
--- /dev/null
+++ b/libc/inet/gethostent.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_gethostent
+#include "resolv.c"
diff --git a/libc/inet/getnameinfo.c b/libc/inet/getnameinfo.c
new file mode 100644
index 000000000..fbfd3ede1
--- /dev/null
+++ b/libc/inet/getnameinfo.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_getnameinfo
+#include "resolv.c"
diff --git a/libc/inet/getpeername.c b/libc/inet/getpeername.c
new file mode 100644
index 000000000..74825a7b2
--- /dev/null
+++ b/libc/inet/getpeername.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_getpeername
+#include "socketcalls.c"
diff --git a/libc/inet/getsockname.c b/libc/inet/getsockname.c
new file mode 100644
index 000000000..4a4d6a135
--- /dev/null
+++ b/libc/inet/getsockname.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_getsockname
+#include "socketcalls.c"
diff --git a/libc/inet/getsockopt.c b/libc/inet/getsockopt.c
new file mode 100644
index 000000000..48f72e999
--- /dev/null
+++ b/libc/inet/getsockopt.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_getsockopt
+#include "socketcalls.c"
diff --git a/libc/inet/inet_addr.c b/libc/inet/inet_addr.c
new file mode 100644
index 000000000..445f850a1
--- /dev/null
+++ b/libc/inet/inet_addr.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_inet_makeaddr
+#include "addr.c"
diff --git a/libc/inet/inet_aton.c b/libc/inet/inet_aton.c
new file mode 100644
index 000000000..d79ba07b0
--- /dev/null
+++ b/libc/inet/inet_aton.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_inet_aton
+#include "addr.c"
diff --git a/libc/inet/inet_lnaof.c b/libc/inet/inet_lnaof.c
new file mode 100644
index 000000000..9887a4342
--- /dev/null
+++ b/libc/inet/inet_lnaof.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_inet_lnaof
+#include "addr.c"
diff --git a/libc/inet/inet_makeaddr.c b/libc/inet/inet_makeaddr.c
new file mode 100644
index 000000000..9f946967c
--- /dev/null
+++ b/libc/inet/inet_makeaddr.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_inet_addr
+#include "addr.c"
diff --git a/libc/inet/inet_netof.c b/libc/inet/inet_netof.c
new file mode 100644
index 000000000..045c120c9
--- /dev/null
+++ b/libc/inet/inet_netof.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_inet_netof
+#include "addr.c"
diff --git a/libc/inet/inet_ntoa.c b/libc/inet/inet_ntoa.c
new file mode 100644
index 000000000..83ed13803
--- /dev/null
+++ b/libc/inet/inet_ntoa.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_inet_ntoa
+#include "addr.c"
diff --git a/libc/inet/lengthd.c b/libc/inet/lengthd.c
new file mode 100644
index 000000000..07c7fc6f1
--- /dev/null
+++ b/libc/inet/lengthd.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_lengthd
+#include "resolv.c"
diff --git a/libc/inet/lengthq.c b/libc/inet/lengthq.c
new file mode 100644
index 000000000..e62e6f25a
--- /dev/null
+++ b/libc/inet/lengthq.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_lengthq
+#include "resolv.c"
diff --git a/libc/inet/listen.c b/libc/inet/listen.c
new file mode 100644
index 000000000..32e347895
--- /dev/null
+++ b/libc/inet/listen.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_listen
+#include "socketcalls.c"
diff --git a/libc/inet/ns_name.c b/libc/inet/ns_name.c
new file mode 100644
index 000000000..158a1a331
--- /dev/null
+++ b/libc/inet/ns_name.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_name
+#include "resolv.c"
diff --git a/libc/inet/opennameservers.c b/libc/inet/opennameservers.c
new file mode 100644
index 000000000..effd10800
--- /dev/null
+++ b/libc/inet/opennameservers.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_opennameservers
+#include "resolv.c"
diff --git a/libc/inet/read_etc_hosts_r.c b/libc/inet/read_etc_hosts_r.c
new file mode 100644
index 000000000..6504e541f
--- /dev/null
+++ b/libc/inet/read_etc_hosts_r.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_read_etc_hosts_r
+#include "resolv.c"
diff --git a/libc/inet/recv.c b/libc/inet/recv.c
new file mode 100644
index 000000000..1c77ce323
--- /dev/null
+++ b/libc/inet/recv.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_recv
+#include "socketcalls.c"
diff --git a/libc/inet/recvfrom.c b/libc/inet/recvfrom.c
new file mode 100644
index 000000000..ec683f6c8
--- /dev/null
+++ b/libc/inet/recvfrom.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_recvfrom
+#include "socketcalls.c"
diff --git a/libc/inet/recvmsg.c b/libc/inet/recvmsg.c
new file mode 100644
index 000000000..db51d8b03
--- /dev/null
+++ b/libc/inet/recvmsg.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_recvmsg
+#include "socketcalls.c"
diff --git a/libc/inet/res_comp.c b/libc/inet/res_comp.c
new file mode 100644
index 000000000..8aee6b17c
--- /dev/null
+++ b/libc/inet/res_comp.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_res_comp
+#include "resolv.c"
diff --git a/libc/inet/res_init.c b/libc/inet/res_init.c
new file mode 100644
index 000000000..09caf4927
--- /dev/null
+++ b/libc/inet/res_init.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_res_init
+#include "resolv.c"
diff --git a/libc/inet/res_query.c b/libc/inet/res_query.c
new file mode 100644
index 000000000..c662510e6
--- /dev/null
+++ b/libc/inet/res_query.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_res_query
+#include "resolv.c"
diff --git a/libc/inet/resolveaddress.c b/libc/inet/resolveaddress.c
new file mode 100644
index 000000000..d57366c98
--- /dev/null
+++ b/libc/inet/resolveaddress.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_resolveaddress
+#include "resolv.c"
diff --git a/libc/inet/resolvename.c b/libc/inet/resolvename.c
new file mode 100644
index 000000000..157878fd1
--- /dev/null
+++ b/libc/inet/resolvename.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_resolvename
+#include "resolv.c"
diff --git a/libc/inet/send.c b/libc/inet/send.c
new file mode 100644
index 000000000..6b7d44b53
--- /dev/null
+++ b/libc/inet/send.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_send
+#include "socketcalls.c"
diff --git a/libc/inet/sendmsg.c b/libc/inet/sendmsg.c
new file mode 100644
index 000000000..834e83998
--- /dev/null
+++ b/libc/inet/sendmsg.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_sendmsg
+#include "socketcalls.c"
diff --git a/libc/inet/sendto.c b/libc/inet/sendto.c
new file mode 100644
index 000000000..328baa326
--- /dev/null
+++ b/libc/inet/sendto.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_sendto
+#include "socketcalls.c"
diff --git a/libc/inet/setsockopt.c b/libc/inet/setsockopt.c
new file mode 100644
index 000000000..b0f4a4e96
--- /dev/null
+++ b/libc/inet/setsockopt.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_setsockopt
+#include "socketcalls.c"
diff --git a/libc/inet/shutdown.c b/libc/inet/shutdown.c
new file mode 100644
index 000000000..0bcdb9f38
--- /dev/null
+++ b/libc/inet/shutdown.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_shutdown
+#include "socketcalls.c"
diff --git a/libc/inet/socket.c b/libc/inet/socket.c
new file mode 100644
index 000000000..752744b88
--- /dev/null
+++ b/libc/inet/socket.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_socket
+#include "socketcalls.c"
diff --git a/libc/inet/socketpair.c b/libc/inet/socketpair.c
new file mode 100644
index 000000000..f7c435474
--- /dev/null
+++ b/libc/inet/socketpair.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_socketpair
+#include "socketcalls.c"
-- 
cgit v1.2.3