about summary refs log tree commit diff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorFrederic Berat <fberat@redhat.com>2023-06-20 20:18:59 +0200
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2023-06-22 00:21:01 -0400
commit04d85febb9dd61a65045e10a8ba4add5367b239d (patch)
treeeade6ca8e0d2f8124fafd1caf0b704ad1a8cc17a /include/wchar.h
parent427dbaee86bcec31ba2fe9a42f32842cf17c4e77 (diff)
downloadglibc-04d85febb9dd61a65045e10a8ba4add5367b239d.tar.gz
glibc-04d85febb9dd61a65045e10a8ba4add5367b239d.tar.xz
glibc-04d85febb9dd61a65045e10a8ba4add5367b239d.zip
wcsmbs/bits/wchar2{, -decl}.h: Clearly separate declaration from definitions
This will enable __REDIRECT_FORTIFY* macros to be used when _FORTIFY_SOURCE
is set.

Routine declarations that were in bits/wchar2.h are moved into the
bits/wchar2-decl.h file.
The file is now included into include/wchar.h irrespectively from
fortification.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index ff4ae52045..7b763bc24f 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -12,6 +12,7 @@
 # ifndef _ISOMAC
 
 #include <bits/floatn.h>
+#include <bits/wchar2-decl.h>
 #include <stdbool.h>
 
 extern __typeof (wcscasecmp_l) __wcscasecmp_l;