pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/libnbcompat/files/nbcompat
Module Name: pkgsrc
Committed By: sevan
Date: Tue Jul 9 09:43:32 UTC 2019
Modified Files:
pkgsrc/pkgtools/libnbcompat/files/nbcompat: string.h
Log Message:
Use the correct prototype - thanks <gutteridge>
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h
diff -u pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h:1.4 pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h:1.5
--- pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h:1.4 Mon Jul 8 20:34:54 2019
+++ pkgsrc/pkgtools/libnbcompat/files/nbcompat/string.h Tue Jul 9 09:43:32 2019
@@ -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 @@ size_t strlcpy(char *, const char *, siz
#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