From d20b28703a1789aebff7aa52661b4ffb80c26750 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Tue, 7 Apr 1998 23:06:59 +0000 Subject: [PATCH] More protos for {,v}snprintf. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4758 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index c304baac0..efa67f91c 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -127,12 +127,12 @@ char *getusershell(void); void endusershell(void); #endif -#ifndef HAVE_SNPRINTF +#if !defined(HAVE_SNPRINTF) || defined(NEED_SNPRINTF_PROTO) int snprintf (char *str, size_t sz, const char *format, ...) __attribute__ ((format (printf, 3, 4))); #endif -#ifndef HAVE_VSNPRINTF +#if !defined(HAVE_VSNPRINTF) || defined(NEED_VSNPRINTF_PROTO) int vsnprintf (char *str, size_t sz, const char *format, va_list ap) __attribute__((format (printf, 3, 0))); #endif