More protos for {,v}snprintf.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4758 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-04-07 23:06:59 +00:00
parent 6182b85e9a
commit d20b28703a

View File

@@ -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