From b6e59cd925cbe6c0f23cf46828d47e6e7edd17c9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 11 Sep 2018 11:57:31 -0400 Subject: apply hidden visibility to sigreturn code fragments these were overlooked in the declarations overhaul work because they are not properly declared, and the current framework even allows their declared types to vary by arch. at some point this should be cleaned up, but I'm not sure what the right way would be. --- src/signal/restore.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/signal/restore.c') diff --git a/src/signal/restore.c b/src/signal/restore.c index 873b867e..5ec4f5dd 100644 --- a/src/signal/restore.c +++ b/src/signal/restore.c @@ -1,10 +1,12 @@ +#include + /* These functions will not work, but suffice for targets where the * kernel sigaction structure does not actually use sa_restorer. */ -void __restore() +hidden void __restore() { } -void __restore_rt() +hidden void __restore_rt() { } -- cgit v1.2.1