diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-27 09:55:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-27 09:55:51 +0200 |
| commit | 96f69f7829dc56b7d1e74b27da2a1826d49346c1 (patch) | |
| tree | 644b0c1c57cb0aab049385789354017da05b17bd /plugins/popen.c | |
| parent | 719e27ddc2f0b48bcd7fe5584b23e3ce83ddf291 (diff) | |
| parent | 513929d796af668e977ca7981800c259304a2f25 (diff) | |
| download | monitoring-plugins-96f69f7829dc56b7d1e74b27da2a1826d49346c1.tar.gz | |
Merge pull request #1926 from RincewindsHat/remove_retsigtype
Remove check for RETSIGTYPE in autoconf stuff
Diffstat (limited to 'plugins/popen.c')
| -rw-r--r-- | plugins/popen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/popen.c b/plugins/popen.c index b395f14a..036bc608 100644 --- a/plugins/popen.c +++ b/plugins/popen.c | |||
| @@ -50,9 +50,9 @@ extern FILE *child_process; | |||
| 50 | FILE *spopen (const char *); | 50 | FILE *spopen (const char *); |
| 51 | int spclose (FILE *); | 51 | int spclose (FILE *); |
| 52 | #ifdef REDHAT_SPOPEN_ERROR | 52 | #ifdef REDHAT_SPOPEN_ERROR |
| 53 | RETSIGTYPE popen_sigchld_handler (int); | 53 | void popen_sigchld_handler (int); |
| 54 | #endif | 54 | #endif |
| 55 | RETSIGTYPE popen_timeout_alarm_handler (int); | 55 | void popen_timeout_alarm_handler (int); |
| 56 | 56 | ||
| 57 | #include <stdarg.h> /* ANSI C header file */ | 57 | #include <stdarg.h> /* ANSI C header file */ |
| 58 | #include <fcntl.h> | 58 | #include <fcntl.h> |
| @@ -266,7 +266,7 @@ spclose (FILE * fp) | |||
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | #ifdef REDHAT_SPOPEN_ERROR | 268 | #ifdef REDHAT_SPOPEN_ERROR |
| 269 | RETSIGTYPE | 269 | void |
| 270 | popen_sigchld_handler (int signo) | 270 | popen_sigchld_handler (int signo) |
| 271 | { | 271 | { |
| 272 | if (signo == SIGCHLD) | 272 | if (signo == SIGCHLD) |
| @@ -274,7 +274,7 @@ popen_sigchld_handler (int signo) | |||
| 274 | } | 274 | } |
| 275 | #endif | 275 | #endif |
| 276 | 276 | ||
| 277 | RETSIGTYPE | 277 | void |
| 278 | popen_timeout_alarm_handler (int signo) | 278 | popen_timeout_alarm_handler (int signo) |
| 279 | { | 279 | { |
| 280 | int fh; | 280 | int fh; |
