fix SHUT_WR typo in sys/socket.h and duplicate definitions of SHUT_*
This commit is contained in:
parent
ccbc365543
commit
2c2418088d
1 changed files with 1 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ struct linger
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SHUT_RD 0
|
#define SHUT_RD 0
|
||||||
#define SHUT_WD 1
|
#define SHUT_WR 1
|
||||||
#define SHUT_RDWR 2
|
#define SHUT_RDWR 2
|
||||||
|
|
||||||
#ifndef SOCK_STREAM
|
#ifndef SOCK_STREAM
|
||||||
|
|
@ -290,10 +290,6 @@ int setsockopt (int, int, int, const void *, socklen_t);
|
||||||
|
|
||||||
int sockatmark (int);
|
int sockatmark (int);
|
||||||
|
|
||||||
#define SHUT_RD 0
|
|
||||||
#define SHUT_WR 1
|
|
||||||
#define SHUT_RDWR 2
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue