X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=nslookup.c;h=8791b5efee4aa66d998d52bc874b44863e65a3fc;hb=741f2c9898d4f398ddb2f1d8f33e97f0eedd676b;hp=395f347caf73ffa9b4dcc5025b885dcd5c58b471;hpb=24be980004598c2fa0a3e14ccdce0bc7b3039985;p=oweals%2Fbusybox.git diff --git a/nslookup.c b/nslookup.c index 395f347ca..8791b5efe 100644 --- a/nslookup.c +++ b/nslookup.c @@ -2,7 +2,7 @@ /* * Mini nslookup implementation for busybox * - * Copyright (C) 2000 by Lineo, inc. + * Copyright (C) 1999,2000,2001 by Lineo, inc. * Written by John Beppu * * This program is free software; you can redistribute it and/or modify @@ -21,20 +21,17 @@ * */ -#warning This applet has moved to netkit-tiny. After BusyBox 0.49, this -#warning applet will be removed from BusyBox. All maintenance efforts -#warning should be done in the netkit-tiny source tree. - -#include "busybox.h" #include #include #include #include +#include #include #include #include #include +#include "busybox.h" /* | I'm only implementing non-interactive mode; @@ -160,7 +157,7 @@ int nslookup_main(int argc, char **argv) struct hostent *host; if (argc < 2 || *argv[1]=='-') { - usage(nslookup_usage); + show_usage(); } server_print(); @@ -173,4 +170,4 @@ int nslookup_main(int argc, char **argv) return EXIT_SUCCESS; } -/* $Id: nslookup.c,v 1.17 2001/01/24 17:37:07 andersen Exp $ */ +/* $Id: nslookup.c,v 1.22 2001/02/20 06:14:08 andersen Exp $ */