removed declaration for gethostname

This commit is contained in:
Jeff Hill
2002-03-26 23:05:52 +00:00
parent ca76aa0524
commit b99c4d2f6c
4 changed files with 1 additions and 26 deletions

View File

@@ -26,12 +26,6 @@ struct ifafilt;
#include <net/if.h>
#include <netdb.h>
#include <unistd.h> /* close() and others */
/*
* as far as I can tell there is no header file for these
*/
int gethostname(char *name, int namelen);
int sethostname(char *name, int namelen);
#ifdef __cplusplus
}

View File

@@ -27,14 +27,7 @@ extern "C" {
#include <net/if.h>
#include <netdb.h>
#include <unistd.h> /* close() and others */
/*
* as far as I can tell there is no header file for these
*/
/*
int gethostname(char *name, int namelen);
int sethostname(char *name, int namelen);
*/
#ifdef __cplusplus
}
#endif

View File

@@ -25,12 +25,6 @@ extern "C" {
#include <net/if.h>
#include <netdb.h>
#include <unistd.h> /* close() and others */
/*
* as far as I can tell there is no header file for these
*/
/* int gethostname(char *name, int namelen); */
/* int sethostname(char *name, int namelen); */
#ifdef __cplusplus
}

View File

@@ -36,12 +36,6 @@ extern "C" {
#include <net/if.h>
#include <netdb.h>
#include <unistd.h> /* close() and others */
/*
* as far as I can tell there is no header file for these
*/
int gethostname(char *name, int namelen);
int sethostname(char *name, int namelen);
#ifdef __cplusplus
}