Module Name: src Committed By: apb Date: Thu Jan 9 16:08:46 UTC 2014
Modified Files: src/tools/compat: compat_defs.h Log Message: fix prototype for strnlen. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/tools/compat/compat_defs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/compat/compat_defs.h diff -u src/tools/compat/compat_defs.h:1.94 src/tools/compat/compat_defs.h:1.95 --- src/tools/compat/compat_defs.h:1.94 Thu Jan 9 11:31:12 2014 +++ src/tools/compat/compat_defs.h Thu Jan 9 16:08:46 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_defs.h,v 1.94 2014/01/09 11:31:12 apb Exp $ */ +/* $NetBSD: compat_defs.h,v 1.95 2014/01/09 16:08:46 apb Exp $ */ #ifndef __NETBSD_COMPAT_DEFS_H__ #define __NETBSD_COMPAT_DEFS_H__ @@ -416,7 +416,7 @@ int pwcache_groupdb(int (*)(int), void ( char *strndup(const char *, size_t); #endif #if !HAVE_DECL_STRNLEN -char *strnlen(const char *, size_t); +size_t strnlen(const char *, size_t); #endif #if !HAVE_DECL_LCHFLAGS int lchflags(const char *, unsigned long);