aboutsummaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMartin Storsjö2011-02-07 11:49:37 +0200
committerMartin Storsjö2011-10-31 16:29:29 +0200
commit02170990fdb2a05c6eaf5fd449f440ec51c0f822 (patch)
tree8bef187629e410f5d4395af6f8b401603b4e1323 /cmdutils.c
parent45235d69c271966409cdd3eaa022258c22e04fdb (diff)
cmdutils: Rename read_file to cmdutils_read_file
This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index c158de36e8..51f617c40a 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -785,7 +785,7 @@ int read_yesno(void)
return yesno;
}
-int read_file(const char *filename, char **bufptr, size_t *size)
+int cmdutils_read_file(const char *filename, char **bufptr, size_t *size)
{
int ret;
FILE *f = fopen(filename, "rb");