Skip to content

Commit

Permalink
prototype for strlcat/strlcpy, when they are unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jul 28, 2000
1 parent 8031eb6 commit 990f704
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kame/kame/dhcp6/common.h
Expand Up @@ -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

0 comments on commit 990f704

Please sign in to comment.