From 2c2418088d07a2ecb0ecafd8c950bfd38ebf916b Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 4 Dec 2013 21:38:32 +0000 Subject: [PATCH] fix SHUT_WR typo in sys/socket.h and duplicate definitions of SHUT_* --- include/sys/socket.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/sys/socket.h b/include/sys/socket.h index 20eeee3b..9e0b9a37 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -33,7 +33,7 @@ struct linger }; #define SHUT_RD 0 -#define SHUT_WD 1 +#define SHUT_WR 1 #define SHUT_RDWR 2 #ifndef SOCK_STREAM @@ -290,10 +290,6 @@ int setsockopt (int, int, int, const void *, socklen_t); int sockatmark (int); -#define SHUT_RD 0 -#define SHUT_WR 1 -#define SHUT_RDWR 2 - #ifdef __cplusplus } #endif -- 2.25.1