removed gethostname() proto (which should be in unistad.h)

This commit is contained in:
Jeff Hill
2002-03-25 18:46:43 +00:00
parent 9af9e34f89
commit 399dc5967a
5 changed files with 0 additions and 31 deletions
-6
View File
@@ -23,12 +23,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
}
-6
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
}
-7
View File
@@ -21,13 +21,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
}
-6
View File
@@ -26,12 +26,6 @@ extern "C" {
#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
-6
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
}