]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/str-split.c
Released as 6.5.13.
[libucw.git] / ucw / str-split.c
index 0bb236003aa31711cc735868999f84ff220db9e7..16aa56b99941704c739b47617f52303ef00ab8cc 100644 (file)
@@ -8,16 +8,16 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
+#include <ucw/string.h>
 
 #include <string.h>
 
 int
-str_sepsplit(char *str, uns sep, char **rec, uns max)
+str_sepsplit(char *str, uint sep, char **rec, uint max)
 {
-  uns cnt = 0;
+  uint cnt = 0;
   while (1)
   {
     rec[cnt++] = str;
@@ -31,9 +31,9 @@ str_sepsplit(char *str, uns sep, char **rec, uns max)
 }
 
 int
-str_wordsplit(char *src, char **dst, uns max)
+str_wordsplit(char *src, char **dst, uint max)
 {
-  uns cnt = 0;
+  uint cnt = 0;
 
   for(;;)
     {