summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-12-04 21:38:32 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-12-04 21:38:32 +0000
commit2c2418088d07a2ecb0ecafd8c950bfd38ebf916b (patch)
tree4384668d49ca047b429aec698f152c66d91ae39e /include/sys
parentccbc365543ff5f0f29654edcb809b2953024c383 (diff)
downloadmusl-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/sys')
-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