From 5c1a7b6b12dc850145938e5b656778fc741a968a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 3 Feb 2022 20:59:08 -0800 Subject: fix a couple of warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not clear to me where my Linux gets strlcpy and strlcat from ¯\_(ツ)_/¯ --- src/realpath.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/realpath.c b/src/realpath.c index dc57bbb..a59b637 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -36,6 +36,9 @@ #include #include +extern size_t strlcpy(char * dst, const char * src, size_t size); +extern size_t strlcat(char * dst, const char * src, size_t size); + /* * Find the real name of path, by removing all ".", ".." and symlink * components. Returns (resolved) on success, or (NULL) on failure, -- cgit 1.4.1-2-gfad0