From 89c136d426df6a269ce5fde846c38d3bdd37f280 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Sun, 1 Feb 2004 17:26:10 +0000 Subject: [PATCH] Best not to bracket include with extern "C" --- src/libCom/osi/os/hpux/osdSock.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libCom/osi/os/hpux/osdSock.h b/src/libCom/osi/os/hpux/osdSock.h index a04f48d99..36831bd4e 100644 --- a/src/libCom/osi/os/hpux/osdSock.h +++ b/src/libCom/osi/os/hpux/osdSock.h @@ -15,10 +15,6 @@ #ifndef osdSockH #define osdSockH -#ifdef __cplusplus -extern "C" { -#endif - #include #include @@ -34,10 +30,7 @@ extern "C" { #include #include /* close() and others */ -#ifdef __cplusplus -} -#endif - + typedef int SOCKET; #define INVALID_SOCKET (-1) #define SOCKERRNO errno