diff options
| author | Ton Voon <ton.voon@opsera.com> | 2010-06-17 10:16:43 +0100 |
|---|---|---|
| committer | tonvoon <ton.voon@opsera.com> | 2010-06-23 13:30:34 +0000 |
| commit | 18f6835edaf7d640a2c9e476cb1babdbdadbfd9b (patch) | |
| tree | ae11f40e48dc34658445c99012726f32bfb45c56 /gl/stdio-write.c | |
| parent | f61412478ceb7c821793c8356b936f64066508bf (diff) | |
| download | monitoring-plugins-18f6835edaf7d640a2c9e476cb1babdbdadbfd9b.tar.gz | |
Added state retention APIs. Implemented for check_snmp with --rate option.
See http://nagiosplugin.org/c-api-private for more details on the API.
Also updated check_snmp -l option to change the perfdata label.
Diffstat (limited to 'gl/stdio-write.c')
| -rw-r--r-- | gl/stdio-write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gl/stdio-write.c b/gl/stdio-write.c index f7da9e42..a6a0eb14 100644 --- a/gl/stdio-write.c +++ b/gl/stdio-write.c | |||
| @@ -63,7 +63,6 @@ | |||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | # if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ | 65 | # if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ |
| 66 | # if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */ | ||
| 67 | int | 66 | int |
| 68 | printf (const char *format, ...) | 67 | printf (const char *format, ...) |
| 69 | { | 68 | { |
| @@ -76,7 +75,6 @@ printf (const char *format, ...) | |||
| 76 | 75 | ||
| 77 | return retval; | 76 | return retval; |
| 78 | } | 77 | } |
| 79 | # endif | ||
| 80 | # endif | 78 | # endif |
| 81 | 79 | ||
| 82 | # if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ | 80 | # if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ |
