projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccbc365
)
fix SHUT_WR typo in sys/socket.h and duplicate definitions of SHUT_*
author
Szabolcs Nagy
<nsz@port70.net>
Wed, 4 Dec 2013 21:38:32 +0000
(21:38 +0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Wed, 4 Dec 2013 21:38:32 +0000
(21:38 +0000)
include/sys/socket.h
patch
|
blob
|
history
diff --git
a/include/sys/socket.h
b/include/sys/socket.h
index 20eeee3bbc30db4d636b3eb42ab159c55142dee7..9e0b9a37960a6c64dd98208c95bef3616dbb26fd 100644
(file)
--- a/
include/sys/socket.h
+++ b/
include/sys/socket.h
@@
-33,7
+33,7
@@
struct linger
};
#define SHUT_RD 0
-#define SHUT_W
D
1
+#define SHUT_W
R
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