Module Name:    src
Committed By:   apb
Date:           Tue Aug  6 21:58:46 UTC 2013

Modified Files:
        src/tools/compat: compat_defs.h

Log Message:
declare snptintb_m() and snprintb() if HAVE_SNPRINTB is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/tools/compat/compat_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/compat/compat_defs.h
diff -u src/tools/compat/compat_defs.h:1.90 src/tools/compat/compat_defs.h:1.91
--- src/tools/compat/compat_defs.h:1.90	Sat Jul 20 10:31:19 2013
+++ src/tools/compat/compat_defs.h	Tue Aug  6 21:58:46 2013
@@ -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 @@ const char *getprogname(void);
 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

Reply via email to