1 |
/* Copyright (C) 1998,2001 Free Software Foundation, Inc. |
/* Copyright (C) 1998,2001, 2002 Free Software Foundation, Inc. |
2 |
|
|
3 |
This file is part of GNU Inetutils. |
This file is part of GNU Inetutils. |
4 |
|
|
19 |
|
|
20 |
#include "telnetd.h" |
#include "telnetd.h" |
21 |
#include <getopt.h> |
#include <getopt.h> |
|
#include <version.h> |
|
22 |
#ifdef HAVE_SYS_UTSNAME_H |
#ifdef HAVE_SYS_UTSNAME_H |
23 |
# include <sys/utsname.h> |
# include <sys/utsname.h> |
24 |
#endif |
#endif |
616 |
void |
void |
617 |
telnetd_version () |
telnetd_version () |
618 |
{ |
{ |
619 |
printf ("telnetd - %s %s\n", inetutils_package, inetutils_version); |
printf ("telnetd - %s %s\n", PACKAGE_NAME, PACKAGE_VERSION); |
620 |
printf ("Copyright (C) 1998,2001,2002 Free Software Foundation, Inc.\n"); |
printf ("Copyright (C) 1998,2001,2002 Free Software Foundation, Inc.\n"); |
621 |
printf ("%s comes with ABSOLUTELY NO WARRANTY.\n", inetutils_package); |
printf ("%s comes with ABSOLUTELY NO WARRANTY.\n", PACKAGE_NAME); |
622 |
printf ("You may redistribute copies of %s\n", inetutils_package); |
printf ("You may redistribute copies of %s\n", PACKAGE_NAME); |
623 |
printf ("under the terms of the GNU General Public License.\n"); |
printf ("under the terms of the GNU General Public License.\n"); |
624 |
printf ("For more information about these matters, "); |
printf ("For more information about these matters, "); |
625 |
printf ("see the files named COPYING.\n"); |
printf ("see the files named COPYING.\n"); |