From 391f5e9619ef540eea00fb622f4381dae9d8cb44 Mon Sep 17 00:00:00 2001 From: Frédéric Bérat 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/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 4345d08d60..b042a485f9 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -5,6 +5,7 @@ # include # include +# include libc_hidden_proto (_exit, __noreturn__) # ifndef NO_RTLD_HIDDEN -- cgit 1.4.1