From 8adff5922376676c2eeb49de1cbab86cc345b887 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 19 Mar 2005 18:43:48 +0000 Subject: Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes. use stdbool.h / inttypes.h if available. --- src/portab/strlcpy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/portab/strlcpy.c') diff --git a/src/portab/strlcpy.c b/src/portab/strlcpy.c index 5e2c7222..ee93d1d6 100644 --- a/src/portab/strlcpy.c +++ b/src/portab/strlcpy.c @@ -19,7 +19,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: strlcpy.c,v 1.4 2005/02/27 09:29:13 alex Exp $"; +static char UNUSED id[] = "$Id: strlcpy.c,v 1.5 2005/03/19 18:43:50 fw Exp $"; #include "imp.h" #include @@ -31,7 +31,7 @@ static char UNUSED id[] = "$Id: strlcpy.c,v 1.4 2005/02/27 09:29:13 alex Exp $"; #ifndef HAVE_STRLCAT GLOBAL size_t -strlcat( CHAR *dst, CONST CHAR *src, size_t size ) +strlcat( char *dst, const char *src, size_t size ) { /* Like strncat() but does not 0 fill the buffer and * always null terminates. */ @@ -55,7 +55,7 @@ strlcat( CHAR *dst, CONST CHAR *src, size_t size ) #ifndef HAVE_STRLCPY GLOBAL size_t -strlcpy( CHAR *dst, CONST CHAR *src, size_t size ) +strlcpy( char *dst, const char *src, size_t size ) { /* Like strncpy but does not 0 fill the buffer and * always null terminates. */ -- cgit 1.4.1