summaryrefslogtreecommitdiff
path: root/tests/libvirtdconftest.c
diff options
context:
space:
mode:
authorLaine Stump <laine@laine.org>2013-05-09 14:59:04 -0400
committerLaine Stump <laine@laine.org>2013-05-10 13:09:30 -0400
commitbfe7721d5064e00ac733157a4601da5042a29ab7 (patch)
tree801d91013d0ca4aa476c52c3ac79ecb020862355 /tests/libvirtdconftest.c
parenta2c1bedbd8fa977dc733266e88a1b57e28b50dd3 (diff)
downloadlibvirt-bfe7721d5064e00ac733157a4601da5042a29ab7.tar.gz
util: move virFile* functions from virutil.c to virfile.c
These all existed before virfile.c was created, and for some reason weren't moved. This is mostly straightfoward, although the syntax rule prohibiting write() had to be changed to have an exception for virfile.c instead of virutil.c. This movement pointed out that there is a function called virBuildPath(), and another almost identical function called virFileBuildPath(). They really should be a single function, which I'll take care of as soon as I figure out what the arglist should look like.
Diffstat (limited to 'tests/libvirtdconftest.c')
-rw-r--r--tests/libvirtdconftest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libvirtdconftest.c b/tests/libvirtdconftest.c
index df8d3d8dbc..e1dd82d15c 100644
--- a/tests/libvirtdconftest.c
+++ b/tests/libvirtdconftest.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Red Hat, Inc.
+ * Copyright (C) 2012-2013 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -27,6 +27,7 @@
#include "virutil.h"
#include "c-ctype.h"
#include "virerror.h"
+#include "virfile.h"
#include "virlog.h"
#include "virconf.h"
#include "virstring.h"