string: Allow arch override of strndup() also
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:36:00 +0000 (07:36 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit1ea1c7d80f9dd7a4827cddf25fba71d0034510e4
tree40c925bf3ac2a36d66c31997698ad51647f8ab61
parent1f6510c4cf92b6056c333c9e0316c5bdbe061f1a
string: Allow arch override of strndup() also

At present architectures can override strdup() but not strndup(). Use
the same option for both.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/linux/string.h
lib/string.c