From ccf7bf9ebc3fc2e868c3c3bb293d0c9ecec581c5 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 6 May 1998 18:32:21 +0000 Subject: [PATCH] added changes from Steve Hunt --- src/include/os/Linux/osiSock.h | 21 +++++++++++++++------ src/libCom/osi/os/Linux/osdSock.h | 21 +++++++++++++++------ 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/src/include/os/Linux/osiSock.h b/src/include/os/Linux/osiSock.h index abc1f2187..a86212092 100644 --- a/src/include/os/Linux/osiSock.h +++ b/src/include/os/Linux/osiSock.h @@ -36,12 +36,7 @@ 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 } @@ -55,5 +50,19 @@ typedef int SOCKET; #define FD_IN_FDSET(FD) ((FD) #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 } @@ -55,5 +50,19 @@ typedef int SOCKET; #define FD_IN_FDSET(FD) ((FD)