summary refs log tree commit diff
path: root/src/portab/strlcpy.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2005-03-19 18:43:48 +0000
committerFlorian Westphal <fw@strlen.de>2005-03-19 18:43:48 +0000
commit8adff5922376676c2eeb49de1cbab86cc345b887 (patch)
treef08c4c54b987b83436dfce2cfe5af829c8ccf689 /src/portab/strlcpy.c
parent27d93d7d8c1dacb3a9874084a67629df26f96bb1 (diff)
downloadngircd-8adff5922376676c2eeb49de1cbab86cc345b887.tar.gz
ngircd-8adff5922376676c2eeb49de1cbab86cc345b887.zip
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
use stdbool.h / inttypes.h if available.
Diffstat (limited to 'src/portab/strlcpy.c')
-rw-r--r--src/portab/strlcpy.c6
1 files changed, 3 insertions, 3 deletions
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 <string.h>
@@ -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. */