mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 01:42:07 -04:00
{strlcpy,strlcat} -> isc_string_{strlcpy,strlcat}
This commit is contained in:
parent
0cc1d5cc4f
commit
7360d06313
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: string.c,v 1.7 2003/04/10 04:46:27 marka Exp $ */
|
||||
/* $Id: string.c,v 1.8 2003/11/17 01:19:52 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ isc_string_separate(char **stringp, const char *delim) {
|
|||
}
|
||||
|
||||
size_t
|
||||
strlcpy(char *dst, const char *src, size_t size)
|
||||
isc_string_strlcpy(char *dst, const char *src, size_t size)
|
||||
{
|
||||
char *d = dst;
|
||||
const char *s = src;
|
||||
|
|
@ -137,7 +137,7 @@ strlcpy(char *dst, const char *src, size_t size)
|
|||
}
|
||||
|
||||
size_t
|
||||
strlcat(char *dst, const char *src, size_t size)
|
||||
isc_string_strlcat(char *dst, const char *src, size_t size)
|
||||
{
|
||||
char *d = dst;
|
||||
const char *s = src;
|
||||
|
|
|
|||
Loading…
Reference in a new issue