projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Un po' di materiale su {{{splice}}} e inizio della ripulitura degli
[gapil.git]
/
sources
/
gethost.c
diff --git
a/sources/gethost.c
b/sources/gethost.c
index da2a6c96cc284691bcafce3dc2a169cb74c85f36..e949713cb54d80ca6259f5bd4860129f381e0ed8 100644
(file)
--- a/
sources/gethost.c
+++ b/
sources/gethost.c
@@
-26,8
+26,6
@@
*
* Usage: gethost -h give all info's
*
*
* Usage: gethost -h give all info's
*
- * $Id: gethost.c,v 1.3 2003/05/02 09:55:14 piccardi Exp $
- *
****************************************************************/
/*
* Include needed headers
****************************************************************/
/*
* Include needed headers
@@
-37,9
+35,9
@@
#include <stdlib.h> /* C standard library */
#include <unistd.h> /* unix standard library */
#include <stdio.h> /* standard I/O library */
#include <stdlib.h> /* C standard library */
#include <unistd.h> /* unix standard library */
#include <stdio.h> /* standard I/O library */
-#include <string.h> /*
string functions
*/
-#include <sys/types.h>
-#include <sys/socket.h>
+#include <string.h> /*
C strings library
*/
+#include <sys/types.h>
/* primitive system data types */
+#include <sys/socket.h>
/* socket constants, types and functions */
#include <netdb.h>
/* Help printing routine */
#include <netdb.h>
/* Help printing routine */