[PATCH] xfree86: Fix prototype for ConfigFilter
Jeremy Huddleston
jeremyhu at apple.com
Sun Oct 16 02:27:08 PDT 2011
This allows scan.c to build with -Wincompatible-pointer-types
Build regression introduced by: efa5269f23c2237eb5368bf5245ffbbf35714153
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
hw/xfree86/parser/scan.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/parser/scan.c b/hw/xfree86/parser/scan.c
index 1cff3bc..7ce8c6d 100644
--- a/hw/xfree86/parser/scan.c
+++ b/hw/xfree86/parser/scan.c
@@ -767,7 +767,7 @@ OpenConfigFile(const char *path, const char *cmdline, const char *projroot,
* suffix. This filter is passed to scandir(3).
*/
static int
-ConfigFilter(const struct dirent *de)
+ConfigFilter(struct dirent *de)
{
const char *name = de->d_name;
size_t len;
--
1.7.6.1
More information about the xorg-devel
mailing list