From 399dc5967af3605c9120a103f2d11b0e3209ab15 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 25 Mar 2002 18:46:43 +0000 Subject: [PATCH] removed gethostname() proto (which should be in unistad.h) --- src/libCom/osi/os/LynxOS/osdSock.h | 6 ------ src/libCom/osi/os/alpha/osdSock.h | 6 ------ src/libCom/osi/os/cygwin32/osdSock.h | 7 ------- src/libCom/osi/os/sgi/osdSock.h | 6 ------ src/libCom/osi/os/solaris/osdSock.h | 6 ------ 5 files changed, 31 deletions(-) diff --git a/src/libCom/osi/os/LynxOS/osdSock.h b/src/libCom/osi/os/LynxOS/osdSock.h index 16af8ca4b..8979e69c9 100644 --- a/src/libCom/osi/os/LynxOS/osdSock.h +++ b/src/libCom/osi/os/LynxOS/osdSock.h @@ -23,12 +23,6 @@ extern "C" { #include #include #include /* 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 } diff --git a/src/libCom/osi/os/alpha/osdSock.h b/src/libCom/osi/os/alpha/osdSock.h index 1e661e7df..f0882202d 100644 --- a/src/libCom/osi/os/alpha/osdSock.h +++ b/src/libCom/osi/os/alpha/osdSock.h @@ -26,12 +26,6 @@ struct ifafilt; #include #include #include /* 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 } diff --git a/src/libCom/osi/os/cygwin32/osdSock.h b/src/libCom/osi/os/cygwin32/osdSock.h index 825f0bf73..ef2f3e6a8 100644 --- a/src/libCom/osi/os/cygwin32/osdSock.h +++ b/src/libCom/osi/os/cygwin32/osdSock.h @@ -21,13 +21,6 @@ extern "C" { #include #include #include /* 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 } diff --git a/src/libCom/osi/os/sgi/osdSock.h b/src/libCom/osi/os/sgi/osdSock.h index 075f6c02b..72bc05137 100644 --- a/src/libCom/osi/os/sgi/osdSock.h +++ b/src/libCom/osi/os/sgi/osdSock.h @@ -26,12 +26,6 @@ extern "C" { #include #include /* 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 diff --git a/src/libCom/osi/os/solaris/osdSock.h b/src/libCom/osi/os/solaris/osdSock.h index 84205f835..179d1db10 100644 --- a/src/libCom/osi/os/solaris/osdSock.h +++ b/src/libCom/osi/os/solaris/osdSock.h @@ -25,12 +25,6 @@ extern "C" { #include #include #include /* 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 }