From 3e0eb1a54c69075faf5da563333b1b40550e82a2 Mon Sep 17 00:00:00 2001 From: Dolphin Hawkins Date: Wed, 22 Jun 2016 14:31:05 -0700 Subject: Fixed eglib test build error --- eglib/test/test.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'eglib') 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) { -- cgit v1.2.3