ia64/xen-unstable

changeset 9032:ab982f583b73

Define strlcpy() in include/xen/string.h

Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com>
Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Feb 27 08:44:11 2006 +0100 (2006-02-27)
parents 5541ea99106a
children dbec76a720f8
files xen/include/xen/string.h
line diff
     1.1 --- a/xen/include/xen/string.h	Sun Feb 26 16:38:59 2006 +0100
     1.2 +++ b/xen/include/xen/string.h	Mon Feb 27 08:44:11 2006 +0100
     1.3 @@ -25,6 +25,9 @@ extern char * strcpy(char *,const char *
     1.4  #ifndef __HAVE_ARCH_STRNCPY
     1.5  extern char * strncpy(char *,const char *, __kernel_size_t);
     1.6  #endif
     1.7 +#ifndef __HAVE_ARCH_STRLCPY
     1.8 +extern size_t strlcpy(char *,const char *, __kernel_size_t);
     1.9 +#endif
    1.10  #ifndef __HAVE_ARCH_STRCAT
    1.11  extern char * strcat(char *, const char *);
    1.12  #endif