summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-08 04:33:21 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-08 04:33:21 +0000
commit65ca899d2c98b6342783922a5709c4b61e6b2b1f (patch)
tree81bff537f3ba725e1d214d548199868572baf76b /plugins/netutils.h
parent92cd137176830bcdfbd477f151ba22d456b2e31c (diff)
downloadmonitoring-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index 8f534976..f5df7af6 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
37RETSIGTYPE socket_timeout_alarm_handler (int); 37RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn));
38 38
39int process_tcp_request2 (char *address, int port, char *sbuffer, 39int 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
59int is_hostname (char *); 59int is_hostname (char *);
60 60
61extern int socket_timeout; 61extern unsigned int socket_timeout;
62extern int econn_refuse_state; 62extern int econn_refuse_state;
63extern int was_refused; 63extern int was_refused;
64extern int address_family; 64extern int address_family;