Rename virtTestLoadFile to virTestLoadFile.

This function doesn't follow our convention of naming functions.
This commit is contained in:
Tomáš Ryšavý
2016-05-26 17:01:52 +02:00
committed by John Ferlan
parent 062ea148a0
commit 401bb813bd
21 changed files with 28 additions and 28 deletions

View File

@@ -294,7 +294,7 @@ virTestRun(const char *title,
Upon any failure, diagnose it and return -1, but don't bother trying
to preserve errno. Otherwise, return the number of bytes copied into BUF. */
int
virtTestLoadFile(const char *file, char **buf)
virTestLoadFile(const char *file, char **buf)
{
FILE *fp = fopen(file, "r");
struct stat st;
@@ -693,7 +693,7 @@ virtTestCompareToFile(const char *strcontent,
char *filecontent = NULL;
char *fixedcontent = NULL;
if (virtTestLoadFile(filename, &filecontent) < 0 && !virTestGetRegenerate())
if (virTestLoadFile(filename, &filecontent) < 0 && !virTestGetRegenerate())
goto failure;
if (filecontent &&