E17: do not define read_file when using FreeBSD, as it's not used

Patch by Maxime Villard


SVN revision: 79644
This commit is contained in:
Vincent Torri 2012-11-24 23:45:55 +00:00
parent b547e3f7d9
commit 4203095c74
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include <sys/sysctl.h>
#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__)