mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Remove check for RETSIGTYPE in autoconf stuff
autoupdate tells me, that since C89 I can safely assume RETSIGTYPE is void. Therefore to simplify things I removed the corresponding configure.ac line and replaced all mentions of RETSIGTYPE with void.
This commit is contained in:
parent
719e27ddc2
commit
513929d796
5 changed files with 7 additions and 8 deletions
|
|
@ -621,7 +621,6 @@ AC_C_CONST
|
|||
AC_STRUCT_TM
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_SIGNAL
|
||||
|
||||
AC_CACHE_CHECK([for va_copy],ac_cv_HAVE_VA_COPY,[
|
||||
AC_TRY_LINK([#include <stdarg.h>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ void cmd_init (void);
|
|||
#define CMD_NO_ASSOC 0x02 /* output.line won't point to buf */
|
||||
|
||||
|
||||
RETSIGTYPE timeout_alarm_handler (int);
|
||||
void timeout_alarm_handler (int);
|
||||
|
||||
|
||||
#endif /* _UTILS_CMD_ */
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ extern int econn_refuse_state;
|
|||
extern int was_refused;
|
||||
extern int address_family;
|
||||
|
||||
RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn));
|
||||
void socket_timeout_alarm_handler (int) __attribute__((noreturn));
|
||||
|
||||
/* SSL-Related functionality */
|
||||
#ifdef HAVE_SSL
|
||||
|
|
|
|||
|
|
@ -50,9 +50,9 @@ extern FILE *child_process;
|
|||
FILE *spopen (const char *);
|
||||
int spclose (FILE *);
|
||||
#ifdef REDHAT_SPOPEN_ERROR
|
||||
RETSIGTYPE popen_sigchld_handler (int);
|
||||
void popen_sigchld_handler (int);
|
||||
#endif
|
||||
RETSIGTYPE popen_timeout_alarm_handler (int);
|
||||
void popen_timeout_alarm_handler (int);
|
||||
|
||||
#include <stdarg.h> /* ANSI C header file */
|
||||
#include <fcntl.h>
|
||||
|
|
@ -266,7 +266,7 @@ spclose (FILE * fp)
|
|||
}
|
||||
|
||||
#ifdef REDHAT_SPOPEN_ERROR
|
||||
RETSIGTYPE
|
||||
void
|
||||
popen_sigchld_handler (int signo)
|
||||
{
|
||||
if (signo == SIGCHLD)
|
||||
|
|
@ -274,7 +274,7 @@ popen_sigchld_handler (int signo)
|
|||
}
|
||||
#endif
|
||||
|
||||
RETSIGTYPE
|
||||
void
|
||||
popen_timeout_alarm_handler (int signo)
|
||||
{
|
||||
int fh;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
FILE *spopen (const char *);
|
||||
int spclose (FILE *);
|
||||
RETSIGTYPE popen_timeout_alarm_handler (int);
|
||||
void popen_timeout_alarm_handler (int);
|
||||
|
||||
pid_t *childpid=NULL;
|
||||
int *child_stderr_array=NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue