From 02170990fdb2a05c6eaf5fd449f440ec51c0f822 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 7 Feb 2011 11:49:37 +0200 Subject: cmdutils: Rename read_file to cmdutils_read_file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') 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"); -- cgit v1.2.3