git: af9758deff9a - main - libsys: internalize memcpy, memset, and strlcpy

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 00:29:23 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=af9758deff9abb118ce189cbab0a830b02fc63db

commit af9758deff9abb118ce189cbab0a830b02fc63db
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-02-20 14:28:37 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-02-21 00:26:11 +0000

    libsys: internalize memcpy, memset, and strlcpy
    
    Reviewed by:    brooks, imp
    Sponsored by:   The FreeBSD Foundation
    Differential revision:  https://reviews.freebsd.org/D43985
---
 lib/libsys/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libsys/Makefile b/lib/libsys/Makefile
index 598962185dcf..668c263c506f 100644
--- a/lib/libsys/Makefile
+++ b/lib/libsys/Makefile
@@ -26,6 +26,9 @@ CFLAGS+=-I${LIBSYS_SRCTOP}/include -I${LIBC_SRCTOP}/include
 CFLAGS+=-I${LIBSYS_SRCTOP}/${LIBC_ARCH}
 CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH}
 
+.PATH: ${LIBC_SRCTOP}/string
+SRCS+=	memcpy.c memset.c strlcpy.c
+
 CLEANFILES+=tags
 INSTALL_PIC_ARCHIVE=
 #XXX? BUILD_NOSSP_PIC_ARCHIVE=