diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-03-23 20:42:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-03-23 20:42:05 -0400 |
commit | 30c1205acd73c8481ca34f0a41de1d41884d07b5 (patch) | |
tree | e5efb53146b46ac8dfc448a00b8e7840b87b0383 /src/multibyte/mbsnrtowcs.c | |
parent | 8afa7cf5d00eac6dbfca3da9d8678f32f650a00d (diff) | |
download | musl-30c1205acd73c8481ca34f0a41de1d41884d07b5.tar.gz musl-30c1205acd73c8481ca34f0a41de1d41884d07b5.tar.xz musl-30c1205acd73c8481ca34f0a41de1d41884d07b5.zip |
include header that declares __syscall_ret where it's defined
in general, we aim to always include the header that's declaring a function before defining it so that the compiler can check that prototypes match. additionally, the internal syscall.h declares __syscall_ret with a visibility attribute to improve code generation for shared libc (to prevent gratuitous GOT-register loads). this declaration should be visible at the point where __syscall_ret is defined, too, or the inconsistency could theoretically lead to problems at link-time.
Diffstat (limited to 'src/multibyte/mbsnrtowcs.c')
0 files changed, 0 insertions, 0 deletions