diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-27 19:26:34 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-27 19:26:34 +0000 |
commit | 0197697ebdc0bd6a6b1eede8fce2d16b2fdf943b (patch) | |
tree | 907ff2d138f62ede0d94f33177126a2111275dab /desiredata/src/desire.h | |
parent | 6b0c8056b027c18b3f9504da1237b4ff50cdbb34 (diff) |
(v)asprintf throws () to fit the C++ declarations of those functions.
svn path=/trunk/; revision=11171
Diffstat (limited to 'desiredata/src/desire.h')
-rw-r--r-- | desiredata/src/desire.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 ---------------------------------------------------*/ |