X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FTCP_daytime.c;h=e1fe9d6acb9418e4e01d23c4dfcc00171eb58530;hb=5d621249af8897e27fc0a842a33e7a7ef3b9c2ca;hp=4ed7e4f027cd14b6b7714ec0a5fe8cd2da4701f2;hpb=d47f15496fa85c8ec22edcde608f2665ec5b95ae;p=gapil.git diff --git a/sources/TCP_daytime.c b/sources/TCP_daytime.c index 4ed7e4f..e1fe9d6 100644 --- a/sources/TCP_daytime.c +++ b/sources/TCP_daytime.c @@ -26,17 +26,18 @@ * * Usage: daytime -h give all info's * - * $Id: TCP_daytime.c,v 1.2 2003/04/29 15:33:39 piccardi Exp $ - * ****************************************************************/ /* * Include needed headers */ -#include /* predefined types */ -#include /* include unix standard library */ -#include /* IP addresses conversion utiliites */ -#include /* socket library */ -#include /* include standard I/O library */ +#include /* standard library */ +#include /* primitive system data types */ +#include /* unix standard library */ +#include /* IP addresses conversion utilities */ +#include /* socket constants, types and functions */ +#include /* standard I/O library */ +#include /* C strings library */ +#include /* C standard library */ #define MAXLINE 80 /* Program begin */ @@ -121,7 +122,7 @@ void usage(void) { printf("Take daytime from a remote host \n"); printf("Usage:\n"); printf(" daytime [-h] [-v] [host in dotted decimal form] \n"); - printf(" -v set verbosity on\n"); +// printf(" -v set verbosity on\n"); printf(" -h print this help\n"); exit(1); }