Best not to bracket include with extern "C"

This commit is contained in:
Ralph Lange
2004-02-01 17:26:10 +00:00
parent e6587e9755
commit 89c136d426

View File

@@ -15,10 +15,6 @@
#ifndef osdSockH
#define osdSockH
#ifdef __cplusplus
extern "C" {
#endif
#include <errno.h>
#include <sys/types.h>
@@ -34,10 +30,7 @@ extern "C" {
#include <netdb.h>
#include <unistd.h> /* close() and others */
#ifdef __cplusplus
}
#endif
typedef int SOCKET;
#define INVALID_SOCKET (-1)
#define SOCKERRNO errno