summaryrefslogtreecommitdiffstats
path: root/plugins/popen.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-30 22:55:35 +0200
committerGitHub <noreply@github.com>2023-09-30 22:55:35 +0200
commit60ecb14b7c1db72c49e3fa6b4338c9365d303451 (patch)
treef07d0e5446e007b9961ac004fbdf5d861008aef3 /plugins/popen.c
parentbc2d1e4b5ecd5fc9270b8d8a65cbd445b7fb783f (diff)
parenta4c7111f90b00e5060eeebd73b71f67e6e161607 (diff)
downloadmonitoring-plugins-60ecb14.tar.gz
Merge branch 'master' into autoconf_fix
Diffstat (limited to 'plugins/popen.c')
-rw-r--r--plugins/popen.c8
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;
50FILE *spopen (const char *); 50FILE *spopen (const char *);
51int spclose (FILE *); 51int spclose (FILE *);
52#ifdef REDHAT_SPOPEN_ERROR 52#ifdef REDHAT_SPOPEN_ERROR
53RETSIGTYPE popen_sigchld_handler (int); 53void popen_sigchld_handler (int);
54#endif 54#endif
55RETSIGTYPE popen_timeout_alarm_handler (int); 55void 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
269RETSIGTYPE 269void
270popen_sigchld_handler (int signo) 270popen_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
277RETSIGTYPE 277void
278popen_timeout_alarm_handler (int signo) 278popen_timeout_alarm_handler (int signo)
279{ 279{
280 int fh; 280 int fh;