summaryrefslogtreecommitdiff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h6
1 files changed, 1 insertions, 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