pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/nbcompat Use the correct pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40b305dff206
branches:  trunk
changeset: 398034:40b305dff206
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Tue Jul 09 09:43:32 2019 +0000

description:
Use the correct prototype - thanks <gutteridge>

diffstat:

 pkgtools/libnbcompat/files/nbcompat/string.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ac9fa8e318a8 -r 40b305dff206 pkgtools/libnbcompat/files/nbcompat/string.h
--- a/pkgtools/libnbcompat/files/nbcompat/string.h      Tue Jul 09 07:47:03 2019 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/string.h      Tue Jul 09 09:43:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: string.h,v 1.4 2019/07/08 20:34:54 sevan Exp $ */
+/*     $NetBSD: string.h,v 1.5 2019/07/09 09:43:32 sevan Exp $ */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
 #endif
 
 #if !HAVE_STRNLEN
-size_t strlen(const char *str);
+size_t strnlen(const char *s, size_t maxlen);
 #endif
 
 #if !HAVE_STRSEP



Home | Main Index | Thread Index | Old Index