src: remove virFilePrintf in favour of g_fprintf

The virFilePrintf function was a wrapper for fprintf() to provide
Windows portability, since gnulib's fprintf() replacement was
license restricted. This is no longer needed now we have the
g_fprintf function available.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2020-01-27 12:52:23 +00:00
parent 11a79283b8
commit 4ab2120f3b
11 changed files with 44 additions and 87 deletions

View File

@@ -24,8 +24,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include "internal.h"
#define NO_LIBVIRT
#define VIR_NO_GLIB_STDIO /* This file intentionally does not link to libvirt/glib */
#include "testutils.h"
#ifndef WIN32