diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-20 09:18:50 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-20 09:18:50 +0000 |
commit | e356ea321c8098cf1a83a67e27d64c44de08a298 (patch) | |
tree | 8be9273fb8f0e6acab47a9e09552cfbea5400b31 /include/features.h | |
parent | 07ebf927b17572d92e785533d6e8ac1668cc57c6 (diff) |
Merge in the pthread library. This is the linuxthreads library taken from
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen
(me). Stefan has hacked things up such that linuxthreads runs on MMU-less
systems (tested only on arm-nommu). Erik cleaned things up and made it work
properly as a shared library.
-Erik
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 1 |
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) \ |