diff options
| author | sin | 2015-02-04 18:06:57 +0000 |
|---|---|---|
| committer | sin | 2015-02-04 18:06:57 +0000 |
| commit | 6e4f53a3f50eb987fb5a7657b2ba4eecbfac0557 (patch) | |
| tree | 59d9523b662fef885cf435113ed76281378fcace /include | |
| parent | 87f56f70d77945c284490ce779ddff0c64343e41 (diff) | |
Remember to #undef __errordecl
Thanks zhasha for spotting this.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdio.h | 2 | ||||
| -rw-r--r-- | include/string.h | 2 | ||||
| -rw-r--r-- | include/strings.h | 2 | ||||
| -rw-r--r-- | include/sys/socket.h | 2 | ||||
| -rw-r--r-- | include/unistd.h | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 5426d08..2bed0b4 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -58,6 +58,8 @@ __errordecl(__snprintf_error, "snprintf: buffer overflow detected"); | |||
| 58 | snprintf(s, _n, fmt, ## __VA_ARGS__); \ | 58 | snprintf(s, _n, fmt, ## __VA_ARGS__); \ |
| 59 | }) | 59 | }) |
| 60 | 60 | ||
| 61 | #undef __errordecl | ||
| 62 | |||
| 61 | #endif | 63 | #endif |
| 62 | 64 | ||
| 63 | #endif | 65 | #endif |
diff --git a/include/string.h b/include/string.h index 3725bbb..86e5cde 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -224,6 +224,8 @@ __fortify_strlcpy(char *dest, const char *src, size_t n) | |||
| 224 | #define strlcpy(dest, src, n) __fortify_strlcpy(dest, src, n) | 224 | #define strlcpy(dest, src, n) __fortify_strlcpy(dest, src, n) |
| 225 | #endif | 225 | #endif |
| 226 | 226 | ||
| 227 | #undef __errordecl | ||
| 228 | |||
| 227 | #endif | 229 | #endif |
| 228 | 230 | ||
| 229 | #endif | 231 | #endif |
diff --git a/include/strings.h b/include/strings.h index 0531083..04f22ee 100644 --- a/include/strings.h +++ b/include/strings.h | |||
| @@ -47,6 +47,8 @@ __fortify_bzero(void *src, size_t n) | |||
| 47 | #define bzero(src, n) __fortify_bzero(src, n) | 47 | #define bzero(src, n) __fortify_bzero(src, n) |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | #undef __errordecl | ||
| 51 | |||
| 50 | #endif | 52 | #endif |
| 51 | 53 | ||
| 52 | #endif | 54 | #endif |
diff --git a/include/sys/socket.h b/include/sys/socket.h index bd9fed4..0174eee 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h | |||
| @@ -43,6 +43,8 @@ __fortify_recvfrom(int sockfd, void *buf, size_t n, int flags, struct sockaddr * | |||
| 43 | #undef recvfrom | 43 | #undef recvfrom |
| 44 | #define recvfrom(sockfd, buf, n, flags, sa, salen) __fortify_recvfrom(sockfd, buf, n, flags, sa, salen) | 44 | #define recvfrom(sockfd, buf, n, flags, sa, salen) __fortify_recvfrom(sockfd, buf, n, flags, sa, salen) |
| 45 | 45 | ||
| 46 | #undef __errordecl | ||
| 47 | |||
| 46 | #endif | 48 | #endif |
| 47 | 49 | ||
| 48 | #endif | 50 | #endif |
diff --git a/include/unistd.h b/include/unistd.h index 65dadb3..f930acd 100644 --- a/include/unistd.h +++ b/include/unistd.h | |||
| @@ -43,6 +43,8 @@ __fortify_read(int fd, void *buf, size_t n) | |||
| 43 | #undef read | 43 | #undef read |
| 44 | #define read(fd, buf, n) __fortify_read(fd, buf, n) | 44 | #define read(fd, buf, n) __fortify_read(fd, buf, n) |
| 45 | 45 | ||
| 46 | #undef __errordecl | ||
| 47 | |||
| 46 | #endif | 48 | #endif |
| 47 | 49 | ||
| 48 | #endif | 50 | #endif |
