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:
@@ -127,12 +127,12 @@ char *getusershell(void);
|
|||||||
void endusershell(void);
|
void endusershell(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_SNPRINTF
|
#if !defined(HAVE_SNPRINTF) || defined(NEED_SNPRINTF_PROTO)
|
||||||
int snprintf (char *str, size_t sz, const char *format, ...)
|
int snprintf (char *str, size_t sz, const char *format, ...)
|
||||||
__attribute__ ((format (printf, 3, 4)));
|
__attribute__ ((format (printf, 3, 4)));
|
||||||
#endif
|
#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)
|
int vsnprintf (char *str, size_t sz, const char *format, va_list ap)
|
||||||
__attribute__((format (printf, 3, 0)));
|
__attribute__((format (printf, 3, 0)));
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user