Merge "Remove outdated _FORTIFY_SOURCE #undefs"
This commit is contained in:
commit
71853ad5c5
|
@ -26,7 +26,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
#include <errno.h>
|
||||
#include <sys/poll.h>
|
||||
#include <sys/select.h>
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
#include <sys/socket.h>
|
||||
|
||||
ssize_t recv(int socket, void *buf, size_t len, int flags) {
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
#include <string.h>
|
||||
|
||||
char* strchr(const char* p, int ch) {
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
#include <string.h>
|
||||
|
||||
char* strrchr(const char* p, int ch) {
|
||||
|
|
Loading…
Reference in New Issue