summaryrefslogtreecommitdiffstats
path: root/libc/bionic
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-10-01 15:02:07 -0700
committerStephen Hines <srhines@google.com>2013-10-01 15:02:07 -0700
commit35d937e4eb7b8e0a4e9a113d2f7434d55c0bc056 (patch)
tree38f058560086d0a97b8455258fb66d05ada36a3b /libc/bionic
parent76218efbeb2e124656ce15d4eb5a7039da065123 (diff)
downloadbionic-35d937e4eb7b8e0a4e9a113d2f7434d55c0bc056.zip
bionic-35d937e4eb7b8e0a4e9a113d2f7434d55c0bc056.tar.gz
bionic-35d937e4eb7b8e0a4e9a113d2f7434d55c0bc056.tar.bz2
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
Diffstat (limited to 'libc/bionic')
-rw-r--r--libc/bionic/strchr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/bionic/strchr.cpp b/libc/bionic/strchr.cpp
index e2f4471..029fbd9 100644
--- a/libc/bionic/strchr.cpp
+++ b/libc/bionic/strchr.cpp
@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
+#undef _FORTIFY_SOURCE
#include <string.h>
extern "C" char* strchr(const char* p, int ch) {