diff options
author | Dolphin Hawkins <dolphin@exitzer0.com> | 2016-06-23 00:31:05 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2016-07-11 20:23:20 +0300 |
commit | 3e0eb1a54c69075faf5da563333b1b40550e82a2 (patch) | |
tree | a103cf52d7dc9b0cfa52e281770947124f40d26c /eglib/test/test.c | |
parent | 12af7a43ba95051a9f06eedc441225f737b2a05b (diff) |
Fixed eglib test build error
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) { |