summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-06-08 09:10:31 -0400
committerTom Rini <trini@konsulko.com>2019-06-08 09:10:31 -0400
commit5973901826c73462306fbe4051bc3643dca6b88f (patch)
tree0135545945d4eabd2e2ba873a79f1f57a8e13c33 /include/linux
parent6d277fb0ed145f82dd50cc6e99d2fa553a588c3b (diff)
parent879a3bc1c2f3e2aadd6f05e6427cf4d97a272f9a (diff)
Merge branch 'master' of git://git.denx.de/u-boot-tegra
The bulk of these changes are an effort to unify Tegra186 builds with builds of prior 64-bit Tegra generations. On top of that there are various improvements that allow data (such as the MAC address and boot arguments) to be passed through from early firmware to the kernel on boot.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 3606620739..5d63be4ce5 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -94,6 +94,7 @@ size_t strcspn(const char *s, const char *reject);
#ifndef __HAVE_ARCH_STRDUP
extern char * strdup(const char *);
#endif
+extern char * strndup(const char *, size_t);
#ifndef __HAVE_ARCH_STRSWAB
extern char * strswab(const char *);
#endif