From 9c2060cdf4dabccce213521b46463785d607f1fe Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 2 Sep 2002 20:16:22 +0000 Subject: [PATCH] Hook up libkern/strlcpy.c and libkern/strlcat.c after repocopy. Obtained from: OpenBSD Discussed on: -arch --- sys/conf/files | 2 ++ sys/sys/libkern.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/conf/files b/sys/conf/files index 4d2e14b417d3..d62cab46be3d 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1028,6 +1028,8 @@ libkern/skpc.c standard libkern/strcat.c standard libkern/strcmp.c standard libkern/strcpy.c standard +libkern/strlcat.c standard +libkern/strlcpy.c standard libkern/strlen.c standard libkern/strncmp.c standard libkern/strncpy.c standard diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index 2ca50d36728d..f050f06e2d3b 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -86,6 +86,8 @@ void srandom(u_long); char *strcat(char *, const char *); int strcmp(const char *, const char *); char *strcpy(char *, const char *); +size_t strlcat(char *, const char *, size_t); +size_t strlcpy(char *, const char *, size_t); size_t strlen(const char *); int strncmp(const char *, const char *, size_t); char *strncpy(char *, const char *, size_t);