libutil/libu2s: Move strlcpy() implementation to libutils

The strlcpy() implementation in libu2s is beneficial for other tools as
well. Move the implementation to libutils and replace misc_strlcpy() in
libu2s accordingly.

Change the link order in zipl to make it build again.

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Höppner
2018-11-07 14:20:40 +01:00
parent a208463e49
commit aefc8cd3ff
7 changed files with 35 additions and 49 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ lib = libu2s.a
all: $(lib)
objects = u2s.o misc.o
objects = u2s.o
$(lib): $(objects)
$(lib): $(objects) $(rootdir)/libutil/libutil.a
install: all