diff options
Diffstat (limited to 'apps/plugins/lib/arg_helper.c')
-rw-r--r-- | apps/plugins/lib/arg_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lib/arg_helper.c b/apps/plugins/lib/arg_helper.c index d402300900..3ea5ba714d 100644 --- a/apps/plugins/lib/arg_helper.c +++ b/apps/plugins/lib/arg_helper.c | |||
@@ -28,7 +28,9 @@ | |||
28 | 28 | ||
29 | #define SWCHAR '-' | 29 | #define SWCHAR '-' |
30 | #define DECSEPCHAR '.' | 30 | #define DECSEPCHAR '.' |
31 | 31 | #ifdef PLUGIN | |
32 | #define strchr rb->strchr | ||
33 | #endif | ||
32 | int string_parse(const char **parameter, char* buf, size_t buf_sz) | 34 | int string_parse(const char **parameter, char* buf, size_t buf_sz) |
33 | { | 35 | { |
34 | /* fills buf with a string upto buf_sz, null terminates the buffer | 36 | /* fills buf with a string upto buf_sz, null terminates the buffer |