commit | 35d937e4eb7b8e0a4e9a113d2f7434d55c0bc056 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Oct 01 15:02:07 2013 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Oct 01 15:02:07 2013 -0700 |
tree | 38f058560086d0a97b8455258fb66d05ada36a3b | |
parent | 76218efbeb2e124656ce15d4eb5a7039da065123 [diff] [blame] |
Remove _FORTIFY_SOURCE in implementation files. This was causing conflicting declarations for the library definitions of common functions like sprintf(), snprintf(), and strchr(). Change-Id: I5daaa8a58183aa0d4d0fae8a7cb799671810f576
diff --git a/libc/stdio/snprintf.c b/libc/stdio/snprintf.c index 5aa54be..9a25ef2 100644 --- a/libc/stdio/snprintf.c +++ b/libc/stdio/snprintf.c
@@ -31,6 +31,7 @@ * SUCH DAMAGE. */ +#undef _FORTIFY_SOURCE #include <limits.h> #include <stdio.h> #include <string.h>