aboutsummaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:47 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:47 +0200
commit52bcdf267b2c97c90852f1598c8c29d0494cb3b5 (patch)
tree673b953c6b7a742554d0e96a3ac579283632f8d9 /include/stdlib.h
parente1d2ae8d217e50551802f3906099c8adc9f0811e (diff)
downloadglibc-52bcdf267b2c97c90852f1598c8c29d0494cb3b5.zip
glibc-52bcdf267b2c97c90852f1598c8c29d0494cb3b5.tar.gz
glibc-52bcdf267b2c97c90852f1598c8c29d0494cb3b5.tar.bz2
Remove internal_function attribute from string-to-float functions
These are called across DSO boundaries and should therefore use the standard calling convention.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 6fd8688..c4a6e6f 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -201,16 +201,12 @@ libc_hidden_proto (strtoll)
libc_hidden_proto (strtoul)
libc_hidden_proto (strtoull)
-extern float __strtof_nan (const char *, char **, char) internal_function;
-extern double __strtod_nan (const char *, char **, char) internal_function;
-extern long double __strtold_nan (const char *, char **, char)
- internal_function;
-extern float __wcstof_nan (const wchar_t *, wchar_t **, wchar_t)
- internal_function;
-extern double __wcstod_nan (const wchar_t *, wchar_t **, wchar_t)
- internal_function;
-extern long double __wcstold_nan (const wchar_t *, wchar_t **, wchar_t)
- internal_function;
+extern float __strtof_nan (const char *, char **, char);
+extern double __strtod_nan (const char *, char **, char);
+extern long double __strtold_nan (const char *, char **, char);
+extern float __wcstof_nan (const wchar_t *, wchar_t **, wchar_t);
+extern double __wcstod_nan (const wchar_t *, wchar_t **, wchar_t);
+extern long double __wcstold_nan (const wchar_t *, wchar_t **, wchar_t);
libc_hidden_proto (__strtof_nan)
libc_hidden_proto (__strtod_nan)
@@ -228,10 +224,8 @@ extern __typeof (strtof128_l) __strtof128_l;
libc_hidden_proto (__strtof128_l)
libc_hidden_proto (strtof128)
-extern _Float128 __strtof128_nan (const char *, char **, char)
- internal_function;
-extern _Float128 __wcstof128_nan (const wchar_t *, wchar_t **, wchar_t)
- internal_function;
+extern _Float128 __strtof128_nan (const char *, char **, char);
+extern _Float128 __wcstof128_nan (const wchar_t *, wchar_t **, wchar_t);
libc_hidden_proto (__strtof128_nan)
libc_hidden_proto (__wcstof128_nan)