]> mj.ucw.cz Git - libucw.git/blobdiff - lib/ctmatch.c
Makefile: fixed compilation of tests
[libucw.git] / lib / ctmatch.c
index ffa1385cdd878e54c81adecc41517ebad06c4467..7e807760618ff3548afcd991d5d27926c5fee066 100644 (file)
@@ -1,16 +1,17 @@
 /*
- *     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.h"
-#include "string.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;