RIP BOOL. Convert BOOL -> bool. I found a few interesting
[jerry/samba.git] / source / lib / ms_fnmatch.c
index 9dc942c5f2ed3db3fe32ade3920b4d8c267b8088..a839b42588f1b7d779f6e284f8adda7bf1af14d9 100644 (file)
@@ -55,7 +55,7 @@ struct max_n {
 */
 static int ms_fnmatch_core(const smb_ucs2_t *p, const smb_ucs2_t *n,
                           struct max_n *max_n, const smb_ucs2_t *ldot,
-                          BOOL is_case_sensitive)
+                          bool is_case_sensitive)
 {
        smb_ucs2_t c;
        int i;
@@ -145,8 +145,8 @@ static int ms_fnmatch_core(const smb_ucs2_t *p, const smb_ucs2_t *n,
        return -1;
 }
 
-int ms_fnmatch(const char *pattern, const char *string, BOOL translate_pattern,
-              BOOL is_case_sensitive)
+int ms_fnmatch(const char *pattern, const char *string, bool translate_pattern,
+              bool is_case_sensitive)
 {
        smb_ucs2_t *p = NULL;
        smb_ucs2_t *s = NULL;