From c6aeff438d452be679cc3ba0a600db1d204b49a6 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Sat, 7 Nov 2015 16:55:15 +0200 Subject: str: Add converting cmdline args vector to str module Move piece of code which converts cmdline args vector to string from netsniff-ng.c to str.c as function. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- str.h | 1 + 1 file changed, 1 insertion(+) (limited to 'str.h') diff --git a/str.h b/str.h index 7b8916c..7d078da 100644 --- a/str.h +++ b/str.h @@ -8,5 +8,6 @@ extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_forma extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...); extern char *strtrim_right(char *p, char c); extern noinline void *xmemset(void *s, int c, size_t n); +extern char *argv2str(int startind, int argc, char **argv); #endif /* STR_H */ -- cgit v1.2.3-54-g00ecf