Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pkg_install/dist/lib xasprintf uses format stri...
details: https://anonhg.NetBSD.org/src/rev/962f52efdd23
branches: trunk
changeset: 325811:962f52efdd23
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jan 07 02:15:27 2014 +0000
description:
xasprintf uses format strings.
diffstat:
external/bsd/pkg_install/dist/lib/lib.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 668e3805e0f8 -r 962f52efdd23 external/bsd/pkg_install/dist/lib/lib.h
--- a/external/bsd/pkg_install/dist/lib/lib.h Tue Jan 07 02:15:02 2014 +0000
+++ b/external/bsd/pkg_install/dist/lib/lib.h Tue Jan 07 02:15:27 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lib.h,v 1.6 2010/06/26 00:17:13 joerg Exp $ */
+/* $NetBSD: lib.h,v 1.7 2014/01/07 02:15:27 joerg Exp $ */
/* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
@@ -421,7 +421,7 @@
void *xrealloc(void *, size_t);
void *xcalloc(size_t, size_t);
void *xmalloc(size_t);
-char *xasprintf(const char *, ...);
+char *xasprintf(const char *, ...) __printflike(1, 2);
/* Externs */
extern Boolean Verbose;
Home |
Main Index |
Thread Index |
Old Index