From 941eec371e53a0b08e1e800b60eda0a5b69259b4 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 25 Jun 2007 14:37:27 +0200 Subject: [PATCH] converted byte ** -> char ** in sepsplit --- lib/lib.h | 4 ++-- lib/wordsplit.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.2