summaryrefslogtreecommitdiff
path: root/include/fortify-headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fortify-headers.h')
-rw-r--r--include/fortify-headers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
new file mode 100644
index 0000000..c64963f
--- /dev/null
+++ b/include/fortify-headers.h
@@ -0,0 +1,7 @@
1#ifndef _FORTIFY_HEADERS_H
2#define _FORTIFY_HEADERS_H
3
4#define fortify_fn(fn) __typeof__(fn) __orig_##fn __asm__(__USER_LABEL_PREFIX__ #fn); \
5 extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__))
6
7#endif