diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Versions | 9 | ||||
-rw-r--r-- | misc/sys/cdefs.h | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/misc/Versions b/misc/Versions index d9b596bd20..4a37d601ba 100644 --- a/misc/Versions +++ b/misc/Versions @@ -3,10 +3,6 @@ libc { # global variables ___brk_addr; __curbrk; __progname; __progname_full; - # functions which have an additional interface since they are - # are cancelable. - __libc_fsync; __libc_msync; - # interface of malloc functions __sbrk; __getpagesize; @@ -112,4 +108,9 @@ libc { # p* posix_madvise; } + GLIBC_PRIVATE { + # functions which have an additional interface since they are + # cancelable. + __libc_fsync; __libc_msync; + } } diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 45d2ac3662..ff9a891e52 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -165,8 +165,10 @@ (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (3,1) # define __attribute_used__ __attribute__ ((__used__)) +# define __attribute_noinline__ __attribute__ ((__noinline__)) #else # define __attribute_used__ __attribute__ ((__unused__)) +# define __attribute_noinline__ /* Ignore */ #endif /* At some point during the gcc 2.8 development the `format_arg' attribute |