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/036a57665531
branches: trunk
changeset: 336207:036a57665531
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 be7b2cfdb570 -r 036a57665531 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