fortify-headers

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

commit b211796d68c4a6b56f999534627791f3576b6135
parent 5933d58bdebd71cbfaea71fed6d3488abeb7b5d6
Author: Trutz Behn <me@trutz.be>
Date:   Wed, 11 Mar 2015 19:55:51 +0100

Put include guards in the reserved namespace

fortify-headers is considered part of the implementation.

Diffstat:
Minclude/poll.h | 4++--
Minclude/stdio.h | 4++--
Minclude/stdlib.h | 4++--
Minclude/string.h | 4++--
Minclude/strings.h | 4++--
Minclude/sys/select.h | 4++--
Minclude/sys/socket.h | 4++--
Minclude/unistd.h | 4++--
Minclude/wchar.h | 4++--
9 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/include/poll.h b/include/poll.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_POLL_H_ -#define FORTIFY_POLL_H_ +#ifndef _FORTIFY_POLL_H +#define _FORTIFY_POLL_H #include_next <poll.h> diff --git a/include/stdio.h b/include/stdio.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_STDIO_H_ -#define FORTIFY_STDIO_H_ +#ifndef _FORTIFY_STDIO_H +#define _FORTIFY_STDIO_H #include_next <stdio.h> diff --git a/include/stdlib.h b/include/stdlib.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_STDLIB_H_ -#define FORTIFY_STDLIB_H_ +#ifndef _FORTIFY_STDLIB_H +#define _FORTIFY_STDLIB_H #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #include_next <limits.h> diff --git a/include/string.h b/include/string.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_STRING_H_ -#define FORTIFY_STRING_H_ +#ifndef _FORTIFY_STRING_H +#define _FORTIFY_STRING_H #include_next <string.h> diff --git a/include/strings.h b/include/strings.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_STRINGS_H_ -#define FORTIFY_STRINGS_H_ +#ifndef _FORTIFY_STRINGS_H +#define _FORTIFY_STRINGS_H #include_next <strings.h> diff --git a/include/sys/select.h b/include/sys/select.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_SYS_SELECT_H_ -#define FORTIFY_SYS_SELECT_H_ +#ifndef _FORTIFY_SYS_SELECT_H +#define _FORTIFY_SYS_SELECT_H #include_next <sys/select.h> diff --git a/include/sys/socket.h b/include/sys/socket.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_SYS_SOCKET_H_ -#define FORTIFY_SYS_SOCKET_H_ +#ifndef _FORTIFY_SYS_SOCKET_H +#define _FORTIFY_SYS_SOCKET_H #include_next <sys/socket.h> diff --git a/include/unistd.h b/include/unistd.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_UNISTD_H_ -#define FORTIFY_UNISTD_H_ +#ifndef _FORTIFY_UNISTD_H +#define _FORTIFY_UNISTD_H #include_next <unistd.h> diff --git a/include/wchar.h b/include/wchar.h @@ -1,5 +1,5 @@ -#ifndef FORTIFY_WCHAR_H_ -#define FORTIFY_WCHAR_H_ +#ifndef _FORTIFY_WCHAR_H +#define _FORTIFY_WCHAR_H #include_next <stdlib.h> #include_next <wchar.h>