Simplify issig().

We always call it twice with JUSTLOOKING and then FORREAL.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Pawel Jakub Dawidek <pawel@dawidek.net>
Closes #16225
This commit is contained in:
Pawel Jakub Dawidek
2024-05-29 10:49:11 -07:00
committed by Tony Hutter
parent e5e4957a54
commit a6198f34bd
12 changed files with 14 additions and 35 deletions
+1 -4
View File
@@ -30,9 +30,6 @@
#include <linux/sched/signal.h>
#endif
#define FORREAL 0 /* Usual side-effects */
#define JUSTLOOKING 1 /* Don't stop the process */
extern int issig(int why);
extern int issig(void);
#endif /* SPL_SIGNAL_H */