diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 04:33:21 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 04:33:21 (GMT) |
commit | 65ca899d2c98b6342783922a5709c4b61e6b2b1f (patch) | |
tree | 81bff537f3ba725e1d214d548199868572baf76b /plugins/netutils.h | |
parent | 92cd137176830bcdfbd477f151ba22d456b2e31c (diff) | |
download | monitoring-plugins-65ca899d2c98b6342783922a5709c4b61e6b2b1f.tar.gz |
fix a variety of compiler warnings about qualifier discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@662 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r-- | plugins/netutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h index 8f53497..f5df7af 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <netinet/in.h> | 34 | #include <netinet/in.h> |
35 | #include <arpa/inet.h> | 35 | #include <arpa/inet.h> |
36 | 36 | ||
37 | RETSIGTYPE socket_timeout_alarm_handler (int); | 37 | RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); |
38 | 38 | ||
39 | int process_tcp_request2 (char *address, int port, char *sbuffer, | 39 | int process_tcp_request2 (char *address, int port, char *sbuffer, |
40 | char *rbuffer, int rsize); | 40 | char *rbuffer, int rsize); |
@@ -58,7 +58,7 @@ int is_inet6_addr (char *); | |||
58 | #endif | 58 | #endif |
59 | int is_hostname (char *); | 59 | int is_hostname (char *); |
60 | 60 | ||
61 | extern int socket_timeout; | 61 | extern unsigned int socket_timeout; |
62 | extern int econn_refuse_state; | 62 | extern int econn_refuse_state; |
63 | extern int was_refused; | 63 | extern int was_refused; |
64 | extern int address_family; | 64 | extern int address_family; |