diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-04 21:38:32 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-04 21:38:32 +0000 |
commit | 2c2418088d07a2ecb0ecafd8c950bfd38ebf916b (patch) | |
tree | 4384668d49ca047b429aec698f152c66d91ae39e /include | |
parent | ccbc365543ff5f0f29654edcb809b2953024c383 (diff) | |
download | musl-2c2418088d07a2ecb0ecafd8c950bfd38ebf916b.tar.gz musl-2c2418088d07a2ecb0ecafd8c950bfd38ebf916b.tar.bz2 musl-2c2418088d07a2ecb0ecafd8c950bfd38ebf916b.tar.xz musl-2c2418088d07a2ecb0ecafd8c950bfd38ebf916b.zip |
fix SHUT_WR typo in sys/socket.h and duplicate definitions of SHUT_*
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/socket.h | 6 |
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 |