Skip to content

Commit

Permalink
Fix warning about unused static function if glob.h is unavailable
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14826 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
cstim committed Sep 8, 2006
1 parent 5d67b7e commit 2d83ad4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gnome-utils/gnc-druid-provider-file-gnome.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ gnc_dpfg_next_glob(GNCDruidProvider* prov)
return res;
}

#ifdef HAVE_GLOB_H
static int
gnc_dpfg_file_err(const char *path, int err)
{
Expand All @@ -132,6 +133,7 @@ gnc_dpfg_file_err(const char *path, int err)

return (res == GTK_RESPONSE_OK ? 0 : 1);
}
#endif

/* Return TRUE if we have a valid file... */
static gboolean
Expand Down

0 comments on commit 2d83ad4

Please sign in to comment.