From 391f5e9619ef540eea00fb622f4381dae9d8cb44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20B=C3=A9rat?= Date: Wed, 26 Apr 2023 11:45:11 +0200 Subject: posix/bits/unistd.h: Clearly separate declaration from definitions This change is similar to what was done for bits/wchar2.h. Routines declaration are moved into a dedicated bits/unistd-decl.h file which is then included into the bits/unistd.h file. This will allow to adapt the files so that PLT entries are not created when _FORTIFY_SOURCE is enabled. Reviewed-by: Siddhesh Poyarekar --- include/bits/unistd-decl.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 include/bits/unistd-decl.h (limited to 'include/bits') diff --git a/include/bits/unistd-decl.h b/include/bits/unistd-decl.h new file mode 100644 index 0000000..7fcbd27 --- /dev/null +++ b/include/bits/unistd-decl.h @@ -0,0 +1 @@ +#include -- cgit v1.1