summaryrefslogtreecommitdiffstats
path: root/plugins/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/utils.c')
-rw-r--r--plugins/utils.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/utils.c b/plugins/utils.c
index 45373909..91fa671f 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -147,23 +147,6 @@ print_revision (const char *command_name, const char *revision)
147 command_name, revision, PACKAGE, VERSION); 147 command_name, revision, PACKAGE, VERSION);
148} 148}
149 149
150const char *
151state_text (int result)
152{
153 switch (result) {
154 case STATE_OK:
155 return "OK";
156 case STATE_WARNING:
157 return "WARNING";
158 case STATE_CRITICAL:
159 return "CRITICAL";
160 case STATE_DEPENDENT:
161 return "DEPENDENT";
162 default:
163 return "UNKNOWN";
164 }
165}
166
167void 150void
168timeout_alarm_handler (int signo) 151timeout_alarm_handler (int signo)
169{ 152{