From 990f704f060d6e577dec3884255cc315368e8734 Mon Sep 17 00:00:00 2001 From: itojun Date: Fri, 28 Jul 2000 17:11:20 +0000 Subject: [PATCH] prototype for strlcat/strlcpy, when they are unavailable --- kame/kame/dhcp6/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kame/kame/dhcp6/common.h b/kame/kame/dhcp6/common.h index 22eb2d0a8d..ea8e127729 100644 --- a/kame/kame/dhcp6/common.h +++ b/kame/kame/dhcp6/common.h @@ -47,3 +47,11 @@ extern int in6_addrscopebyif __P((struct in6_addr *, char *)); extern int in6_scope __P((struct in6_addr *)); extern void setloglevel __P((int)); extern void dprintf __P((int, const char *, ...)); + +/* missing */ +#ifndef HAVE_STRLCAT +extern size_t strlcat __P((char *, const char *, size_t)); +#endif +#ifndef HAVE_STRLCPY +extern size_t strlcpy __P((char *, const char *, size_t)); +#endif