diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 04:33:21 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 04:33:21 +0000 |
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 8f534976..f5df7af6 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h @@ -34,7 +34,7 @@ #include <netinet/in.h> #include <arpa/inet.h> -RETSIGTYPE socket_timeout_alarm_handler (int); +RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); int process_tcp_request2 (char *address, int port, char *sbuffer, char *rbuffer, int rsize); @@ -58,7 +58,7 @@ int is_inet6_addr (char *); #endif int is_hostname (char *); -extern int socket_timeout; +extern unsigned int socket_timeout; extern int econn_refuse_state; extern int was_refused; extern int address_family; |