summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-30 20:37:35 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-30 20:37:35 +0000
commitacbe47d22b76913e1be97ac0ef4ad0f332819813 (patch)
tree60369c260a80d382c79c9ecdc4e52bf9fa7e9905
parentd75f418d41de68c8c6b840b8335841bf6b8ee038 (diff)
warn folks that libresolv is a stub
-rw-r--r--libresolv/resolv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libresolv/resolv.c b/libresolv/resolv.c
index f8eeefe60..f9fb959c8 100644
--- a/libresolv/resolv.c
+++ b/libresolv/resolv.c
@@ -21,8 +21,11 @@
*
*/
+#include <features.h>
void stub(void)
{
return;
}
+link_warning (gets, "the `libresolv' library is a stub. Do you really need it?")
+