diff options
Diffstat (limited to 'plugins/check_radius.c')
-rw-r--r-- | plugins/check_radius.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index 8ed19e55..d9ff8fa7 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c | |||
@@ -46,8 +46,8 @@ const char *email = "devel@monitoring-plugins.org"; | |||
46 | #include <radiusclient.h> | 46 | #include <radiusclient.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | int process_arguments (int, char **); | 49 | static int process_arguments (int /*argc*/, char ** /*argv*/); |
50 | void print_help (void); | 50 | static void print_help (void); |
51 | void print_usage (void); | 51 | void print_usage (void); |
52 | 52 | ||
53 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) || defined(HAVE_LIBRADCLI) | 53 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) || defined(HAVE_LIBRADCLI) |
@@ -78,22 +78,22 @@ void print_usage (void); | |||
78 | #define REJECT_RC BADRESP_RC | 78 | #define REJECT_RC BADRESP_RC |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | int my_rc_read_config(char *); | 81 | static int my_rc_read_config(char * /*a*/); |
82 | 82 | ||
83 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) || defined(HAVE_LIBRADCLI) | 83 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) || defined(HAVE_LIBRADCLI) |
84 | rc_handle *rch = NULL; | 84 | static rc_handle *rch = NULL; |
85 | #endif | 85 | #endif |
86 | 86 | ||
87 | char *server = NULL; | 87 | static char *server = NULL; |
88 | char *username = NULL; | 88 | static char *username = NULL; |
89 | char *password = NULL; | 89 | static char *password = NULL; |
90 | char *nasid = NULL; | 90 | static char *nasid = NULL; |
91 | char *nasipaddress = NULL; | 91 | static char *nasipaddress = NULL; |
92 | char *expect = NULL; | 92 | static char *expect = NULL; |
93 | char *config_file = NULL; | 93 | static char *config_file = NULL; |
94 | unsigned short port = PW_AUTH_UDP_PORT; | 94 | static unsigned short port = PW_AUTH_UDP_PORT; |
95 | int retries = 1; | 95 | static int retries = 1; |
96 | bool verbose = false; | 96 | static bool verbose = false; |
97 | 97 | ||
98 | /****************************************************************************** | 98 | /****************************************************************************** |
99 | 99 | ||