diff options
Diffstat (limited to 'eglib/test/test.c')
-rw-r--r-- | eglib/test/test.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/eglib/test/test.c b/eglib/test/test.c index 6dd7bf47469..7c870e9c766 100644 --- a/eglib/test/test.c +++ b/eglib/test/test.c @@ -46,13 +46,6 @@ #include "test.h" extern gint global_passed, global_tests; - -#ifndef HAVE_VASPRINTF - /* systen does not provide a vasprintf function, use the one - provided within eglib itself */ -extern int vasprintf(char **ret, const char *format, va_list ap); -#endif - static gchar *last_result = NULL; gboolean @@ -183,7 +176,7 @@ FAILED(const gchar *format, ...) return NULL; #else va_start(args, format); - n = vasprintf(&ret, format, args); + n = g_vasprintf(&ret, format, args); va_end(args); if(n == -1) { |