]>
Commit | Line | Data |
---|---|---|
11a5a9d3 PV |
1 | From fdc42770596e25749f7e2ce0ea97882177397167 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <[email protected]> | |
3 | Date: Sun, 25 Jun 2017 07:25:33 -0700 | |
4 | Subject: [PATCH] Use sigemptyset API instead of __sigemptyset | |
5 | ||
6 | __sigemptyset has been removed from glibc public | |
7 | API headers in upcoming (2.26) release onwards | |
8 | ||
9 | Signed-off-by: Khem Raj <[email protected]> | |
10 | Signed-off-by: Petr Vorel <[email protected]> | |
11 | --- | |
12 | src/prog/gpm-root.y | 4 ---- | |
13 | 1 file changed, 4 deletions(-) | |
14 | ||
15 | diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y | |
16 | index 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 | -- | |
32 | 2.14.2 | |
33 |