Fix warning about unused static function if glob.h is unavailable

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14826 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-08 15:18:36 +00:00
parent 5d67b7ecfd
commit 2d83ad47d3

View File

@ -122,6 +122,7 @@ gnc_dpfg_next_glob(GNCDruidProvider* prov)
return res; return res;
} }
#ifdef HAVE_GLOB_H
static int static int
gnc_dpfg_file_err(const char *path, int err) gnc_dpfg_file_err(const char *path, int err)
{ {
@ -132,6 +133,7 @@ gnc_dpfg_file_err(const char *path, int err)
return (res == GTK_RESPONSE_OK ? 0 : 1); return (res == GTK_RESPONSE_OK ? 0 : 1);
} }
#endif
/* Return TRUE if we have a valid file... */ /* Return TRUE if we have a valid file... */
static gboolean static gboolean