From 0197697ebdc0bd6a6b1eede8fce2d16b2fdf943b Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 27 Apr 2009 19:26:34 +0000 Subject: (v)asprintf throws () to fit the C++ declarations of those functions. svn path=/trunk/; revision=11171 --- desiredata/src/desire.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desiredata/src/desire.h') diff --git a/desiredata/src/desire.h b/desiredata/src/desire.h index 8dc4cac4..cbe28e4c 100644 --- a/desiredata/src/desire.h +++ b/desiredata/src/desire.h @@ -54,11 +54,11 @@ extern "C" { /* ----------------------- (v)asprintf missing on mingw... ---------------------------------------------------*/ #ifndef HAVE_VASPRINTF -extern int vasprintf(char **str, const char *fmt, va_list ap); +extern int vasprintf(char **str, const char *fmt, va_list ap) throw (); #endif #ifndef HAVE_ASPRINTF -extern int asprintf(char **str, const char *fmt, ...); +extern int asprintf(char **str, const char *fmt, ...) throw (); #endif /* ----------------------- m_imp.h ---------------------------------------------------*/ -- cgit v1.2.1