From 4203095c7453a3efa829fdbbf4053023ae1d3b6c Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 24 Nov 2012 23:45:55 +0000 Subject: [PATCH] E17: do not define read_file when using FreeBSD, as it's not used Patch by Maxime Villard SVN revision: 79644 --- src/modules/wizard/page_100.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/wizard/page_100.c b/src/modules/wizard/page_100.c index 002aa414c..b898d0a1c 100644 --- a/src/modules/wizard/page_100.c +++ b/src/modules/wizard/page_100.c @@ -7,6 +7,7 @@ #include #endif +#ifndef __FreeBSD__ static char * read_file(const char *file) { @@ -28,6 +29,7 @@ read_file(const char *file) fclose(f); return strdup(buf); } +#endif EAPI int wizard_page_init(E_Wizard_Page *pg __UNUSED__)