fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers.git
Log | Files | Refs | README | LICENSE

commit e02237241bf01b8f4f704cf5d3054e5fcd9c20a9
parent 7212959240ea8a73671d234c8b61ac81ca775b26
Author: sin <sin@2f30.org>
Date:   Sat, 28 Feb 2015 16:11:32 +0000

Style fix

Diffstat:
include/stdlib.h | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/stdlib.h b/include/stdlib.h @@ -1,8 +1,7 @@ #ifndef FORTIFY_STDLIB_H_ #define FORTIFY_STDLIB_H_ -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \ - || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #include_next <limits.h> #endif @@ -10,8 +9,7 @@ #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \ - || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) static inline __attribute__ ((always_inline)) char * __fortify_realpath(const char *path, char *resolved)