summaryrefslogtreecommitdiff
path: root/libresolv/resolv.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-21 21:26:59 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-21 21:26:59 +0000
commitf1c423b188b498a9ef13883d15738463b8ca3626 (patch)
tree96853494968ea2804ca44d7d4672ad16d787b3c0 /libresolv/resolv.c
parent9995419beef9f7d49adce830e12792c4e3b7f926 (diff)
Stub out libresolv for now. Some apps try to link with it (though
almost always erroneously as a result of configure scripts that were poorly done). This will let such apps compile... -Erik
Diffstat (limited to 'libresolv/resolv.c')
-rw-r--r--libresolv/resolv.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/libresolv/resolv.c b/libresolv/resolv.c
new file mode 100644
index 000000000..f8eeefe60
--- /dev/null
+++ b/libresolv/resolv.c
@@ -0,0 +1,28 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * libresolv for uClibc
+ *
+ * Copyright (C) 2001 by Lineo, inc. Written by Erik Andersen
+ * <andersen@lineo.com>, <andersee@debian.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+
+void stub(void)
+{
+ return;
+}