#ifndef STR_H #define STR_H #include "built_in.h" extern size_t strlcpy(char *dest, const char *src, size_t size); extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_format_printf(3, 4); 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); extern char **argv_insert(char **argv, size_t *count, const char *str); extern void argv_free(char **argv); #endif /* STR_H */
summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-12-12 12:17:19 +0000
committerMark Brown <broonie@kernel.org>2016-12-12 12:17:19 +0000
commitc1b0789271b13dd7561f78370122c3183cd74ab0 (patch)
treef4eda3db7bd1b059de81cd4bec7fbb871661dbe2 /drivers/usb/gadget/function
parent69973b830859bc6529a7a0468ba0d80ee5117826 (diff)
parent618c808968852609d2d9f0e5cfc351a4807ef8d0 (diff)
Merge remote-tracking branch 'regulator/fix/axp20x' into regulator-linus
Diffstat (limited to 'drivers/usb/gadget/function')