Skip to content
Snippets Groups Projects
Commit 6e2f0833 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

#ifdef around variables to squelsh warnings.

parent 25f626cc
No related branches found
No related tags found
No related merge requests found
......@@ -146,11 +146,25 @@ enum sockmode {
typedef RETSIGTYPE (*SIGHANDLER_T)(int);
#ifdef SIGHUP
static SIGHANDLER_T old_sighup_handler = SIG_ERR;
#endif
#ifdef SIGPIPE
static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
#endif
#ifdef SIGALRM
static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
#endif
#ifdef SIGINT
static SIGHANDLER_T old_sigint_handler = SIG_ERR;
#endif
#ifdef SIGTERM
static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
#endif
/* var which if set indicates that the program should finish execution */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment