From 8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 May 2011 21:20:57 +1000 Subject: lib/util don't use enum protocol_types in ms_fnmatch_protocol This makes it easier to compile this in the top level with s3 and s4 headers. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Fri May 6 08:50:52 CEST 2011 on sn-devel-104 --- lib/util/ms_fnmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util/ms_fnmatch.c') diff --git a/lib/util/ms_fnmatch.c b/lib/util/ms_fnmatch.c index d029fd6b00..1ba5888ca0 100644 --- a/lib/util/ms_fnmatch.c +++ b/lib/util/ms_fnmatch.c @@ -154,7 +154,7 @@ static int ms_fnmatch_core(const char *p, const char *n, return -1; } -int ms_fnmatch_protocol(const char *pattern, const char *string, enum protocol_types protocol) +int ms_fnmatch_protocol(const char *pattern, const char *string, int protocol) { int ret, count, i; struct max_n *max_n = NULL; -- cgit