prototypes for {v,}as{n,}printf

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4881 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-05-15 20:36:48 +00:00
parent 5e25d794c1
commit 5290e41055

View File

@@ -141,22 +141,22 @@ 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
#ifndef HAVE_ASPRINTF #if !defined(HAVE_ASPRINTF) || defined(NEED_ASPRINTF_PROTO)
int asprintf (char **ret, const char *format, ...) int asprintf (char **ret, const char *format, ...)
__attribute__ ((format (printf, 2, 3))); __attribute__ ((format (printf, 2, 3)));
#endif #endif
#ifndef HAVE_VASPRINTF #if !defined(HAVE_VASPRINTF) || defined(NEED_VASPRINTF_PROTO)
int vasprintf (char **ret, const char *format, va_list ap) int vasprintf (char **ret, const char *format, va_list ap)
__attribute__((format (printf, 2, 0))); __attribute__((format (printf, 2, 0)));
#endif #endif
#ifndef HAVE_ASNPRINTF #if !defined(HAVE_ASNPRINTF) || defined(NEED_ASNPRINTF_PROTO)
int asnprintf (char **ret, size_t max_sz, const char *format, ...) int asnprintf (char **ret, size_t max_sz, const char *format, ...)
__attribute__ ((format (printf, 3, 4))); __attribute__ ((format (printf, 3, 4)));
#endif #endif
#ifndef HAVE_VASNPRINTF #if !defined(HAVE_VASNPRINTF) || defined(NEED_VASNPRINTF_PROTO)
int vasnprintf (char **ret, size_t max_sz, const char *format, va_list ap) int vasnprintf (char **ret, size_t max_sz, const char *format, va_list ap)
__attribute__((format (printf, 3, 0))); __attribute__((format (printf, 3, 0)));
#endif #endif