Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat declare snptintb_m() and snprintb() if HAVE_SNP...
details: https://anonhg.NetBSD.org/src/rev/7e8159a0a624
branches: trunk
changeset: 789110:7e8159a0a624
user: apb <apb%NetBSD.org@localhost>
date: Tue Aug 06 21:58:46 2013 +0000
description:
declare snptintb_m() and snprintb() if HAVE_SNPRINTB is not defined.
diffstat:
tools/compat/compat_defs.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4d0d09ea2bb5 -r 7e8159a0a624 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h Tue Aug 06 21:56:36 2013 +0000
+++ b/tools/compat/compat_defs.h Tue Aug 06 21:58:46 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.90 2013/07/20 10:31:19 christos Exp $ */
+/* $NetBSD: compat_defs.h,v 1.91 2013/08/06 21:58:46 apb Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -446,6 +446,11 @@
void setprogname(const char *);
#endif
+#if !HAVE_SNPRINTB_M
+int snprintb(char *, size_t, const char *, uint64_t);
+int snprintb_m(char *, size_t, const char *, uint64_t, size_t);
+#endif
+
#if !HAVE_SNPRINTF
int snprintf(char *, size_t, const char *, ...);
#endif
Home |
Main Index |
Thread Index |
Old Index