Skip to content
Snippets Groups Projects
Commit 80d9ef8d authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass
Browse files

lib: string: move strlcpy() to a common place


Move strlcpy() definition from drivers/usb/gadget/ether.c to
lib/string.c because it is a very useful function.
Let's add the prototype to include/linux/string.h too.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 9b416a9f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment