]> mj.ucw.cz Git - libucw.git/blobdiff - lib/wordsplit.c
I decided to turn off cf/url-equiv for indexation. however, after the indexer
[libucw.git] / lib / wordsplit.c
index eea9476230166816e39b152ec79d8925df7593d7..6e2e792edd71b9ed62989c6cb7c7aefe4613f661 100644 (file)
@@ -1,18 +1,19 @@
 /*
  *     Sherlock Library -- Word Splitting
  *
 /*
  *     Sherlock Library -- Word Splitting
  *
- *     (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
 wordsplit(byte *src, byte **dst, uns max)
 {
 
 int
 wordsplit(byte *src, byte **dst, uns max)
 {
-  int cnt = 0;
+  uns cnt = 0;
 
   for(;;)
     {
 
   for(;;)
     {