removed declaration for gethostname
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user