diff options
| author | 2016-02-09 18:20:39 +0000 | |
|---|---|---|
| committer | 2016-02-09 18:20:39 +0000 | |
| commit | fcdcc79628a1919bde9acf239e364f65bab6327c (patch) | |
| tree | 5499be387cf3028c90ac083b1cf866ebed7bf7e0 /tools/include/linux/string.h | |
| parent | spi: pxa2xx: Fix too early chipselect deassert (diff) | |
| parent | spi: Let drivers translate ACPI DeviceSelection to suitable Linux chip select (diff) | |
Merge branch 'topic/acpi' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-pxa2xx
Diffstat (limited to 'tools/include/linux/string.h')
| -rw-r--r-- | tools/include/linux/string.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/include/linux/string.h b/tools/include/linux/string.h new file mode 100644 index 000000000000..e26223f1f287 --- /dev/null +++ b/tools/include/linux/string.h @@ -0,0 +1,15 @@ +#ifndef _TOOLS_LINUX_STRING_H_ +#define _TOOLS_LINUX_STRING_H_ + + +#include <linux/types.h> /* for size_t */ + +void *memdup(const void *src, size_t len); + +int strtobool(const char *s, bool *res); + +#ifndef __UCLIBC__ +extern size_t strlcpy(char *dest, const char *src, size_t size); +#endif + +#endif /* _LINUX_STRING_H_ */ |
