summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 033cf98d6..580ed3ee6 100644
--- a/include/features.h
+++ b/include/features.h
@@ -378,6 +378,7 @@
/* This comes between the return type and function name in
* a function definition to make that definition weak. */
# define weak_function __attribute__ ((weak))
+# define weak_const_function __attribute__ ((weak, __const__))
/* Tacking on "\n\t#" to the section name makes gcc put it's bogus
* section attributes on what looks like a comment to the assembler. */
# define link_warning(symbol, msg) \