1From fdc42770596e25749f7e2ce0ea97882177397167 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sun, 25 Jun 2017 07:25:33 -0700 4Subject: [PATCH] Use sigemptyset API instead of __sigemptyset 5 6__sigemptyset has been removed from glibc public 7API headers in upcoming (2.26) release onwards 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Petr Vorel <petr.vorel@gmail.com> 11--- 12 src/prog/gpm-root.y | 4 ---- 13 1 file changed, 4 deletions(-) 14 15diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y 16index 5126c65..76c896c 100644 17--- a/src/prog/gpm-root.y 18+++ b/src/prog/gpm-root.y 19@@ -1196,11 +1196,7 @@ int main(int argc, char **argv) 20 LOG_DAEMON : LOG_USER); 21 /* reap your zombies */ 22 childaction.sa_handler=reap_children; 23-#if defined(__GLIBC__) 24- __sigemptyset(&childaction.sa_mask); 25-#else /* __GLIBC__ */ 26 sigemptyset(&childaction.sa_mask); 27-#endif /* __GLIBC__ */ 28 childaction.sa_flags=0; 29 sigaction(SIGCHLD,&childaction,NULL); 30 31-- 322.14.2 33 34