diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-08-18 02:14:01 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-05-12 12:15:13 (GMT) |
commit | 332c6ef2c7480a23f3c2fa59f5cd2c88db8d9919 (patch) | |
tree | 85ff0cecb0f8d1eae50c1a50d0c2789c32b28a93 /plugins/runcmd.h | |
parent | 08f5670a790da20c33ef3c0950db527e507f0479 (diff) | |
download | monitoring-plugins-332c6ef2c7480a23f3c2fa59f5cd2c88db8d9919.tar.gz |
plugins: rename runcmd's signal handler.
The previous name would collide with popen's. Even if the two are
never used together, it's still a good idea not to have the same
symbol in multiple object files.
Diffstat (limited to 'plugins/runcmd.h')
-rw-r--r-- | plugins/runcmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/runcmd.h b/plugins/runcmd.h index 211dee2..5957562 100644 --- a/plugins/runcmd.h +++ b/plugins/runcmd.h | |||
@@ -39,7 +39,7 @@ typedef struct output output; | |||
39 | 39 | ||
40 | /** prototypes **/ | 40 | /** prototypes **/ |
41 | int np_runcmd(const char *, output *, output *, int); | 41 | int np_runcmd(const char *, output *, output *, int); |
42 | void popen_timeout_alarm_handler(int) | 42 | void runcmd_timeout_alarm_handler(int) |
43 | __attribute__((__noreturn__)); | 43 | __attribute__((__noreturn__)); |
44 | 44 | ||
45 | /* only multi-threaded plugins need to bother with this */ | 45 | /* only multi-threaded plugins need to bother with this */ |