OSDN Git Service

libc fortify: make stdio.h use diagnose_if
authorGeorge Burgess IV <gbiv@google.com>
Tue, 1 Aug 2017 04:23:34 +0000 (21:23 -0700)
committerGeorge Burgess IV <gbiv@google.com>
Wed, 2 Aug 2017 05:02:31 +0000 (22:02 -0700)
commit23dbf82132c4563caac091d5b7bb91bbe21d20e0
tree10c445fda133436cc622289f3578090f869ad1c0
parentaa8f766bf0ead7d87ed1084880f42aa4b2d01fbb
libc fortify: make stdio.h use diagnose_if

This also throws in some reformatting to match the GCC FORTIFY style in
this file (e.g. 4 space standard indent).

Per b/36984245, some function protos are unwrapped beyond 100 chars, as
well.

Bug: 12231437
Test: m checkbuild on bionic internal master; CtsBionicTestCases show
no new failures.

Change-Id: I6dce60ec14d5cd703d9e724699634a197ca11023
libc/include/bits/fortify/stdio.h
tests/fortify_compilation_test.cpp