diff options
Diffstat (limited to 'newlib/libc/argz/buf_findstr.c')
-rw-r--r-- | newlib/libc/argz/buf_findstr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/argz/buf_findstr.c b/newlib/libc/argz/buf_findstr.c index 792706e88..aeb32a943 100644 --- a/newlib/libc/argz/buf_findstr.c +++ b/newlib/libc/argz/buf_findstr.c @@ -9,10 +9,12 @@ #include <string.h> #include <stdlib.h> +#include "buf_findstr.h" + /* Find string str in buffer buf of length buf_len. Point buf to character after string, or set it to NULL if end of buffer is reached. Return 1 if found, 0 if not. */ int -buf_findstr(const char *str, const char **buf, size_t *buf_len) +_buf_findstr(const char *str, char **buf, size_t *buf_len) { int i = 0; int j = 0; |