From: Pavel Charvat Date: Mon, 25 Jun 2007 12:37:27 +0000 (+0200) Subject: converted byte ** -> char ** in sepsplit X-Git-Tag: holmes-import~506^2~60 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=941eec371e53a0b08e1e800b60eda0a5b69259b4;p=libucw.git converted byte ** -> char ** in sepsplit --- diff --git a/lib/lib.h b/lib/lib.h index 6e74b6f5..51d78974 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -164,8 +164,8 @@ int match_ct_patt(const char *, const char *); /* wordsplit.c */ -int sepsplit(byte *str, uns sep, byte **rec, uns max); -int wordsplit(byte *str, byte **rec, uns max); +int sepsplit(char *str, uns sep, char **rec, uns max); +int wordsplit(char *str, char **rec, uns max); /* pat(i)match.c: Matching of shell patterns */ diff --git a/lib/wordsplit.c b/lib/wordsplit.c index 70984ab5..2e50edc1 100644 --- a/lib/wordsplit.c +++ b/lib/wordsplit.c @@ -14,7 +14,7 @@ #include int -sepsplit(byte *str, uns sep, byte **rec, uns max) +sepsplit(char *str, uns sep, char **rec, uns max) { uns cnt = 0; while (1) @@ -30,7 +30,7 @@ sepsplit(byte *str, uns sep, byte **rec, uns max) } int -wordsplit(byte *src, byte **dst, uns max) +wordsplit(char *src, char **dst, uns max) { uns cnt = 0;