/*
- * Sherlock Library -- Content-Type Pattern Matching
+ * UCW Library -- Content-Type Pattern Matching
*
- * (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ * (c) 1997 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
-#include <stdio.h>
-
#include "lib/lib.h"
#include "lib/chartype.h"
int
-match_ct_patt(byte *p, byte *t)
+match_ct_patt(const char *p, const char *t)
{
if (*p == '*' && !p[1]) /* "*" matches everything */
return 1;