X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fstk-charconv.c;h=3286f0fe301f64410bcb00413067b23b7afab3df;hb=e5d79225e3eef5c39be7f8e5006e331ed0f76f2f;hp=7fc2d72cbf0bf9833c9a9f3a34a28e1e3f2574ae;hpb=11902e0b6fc1d043da0abadcdd928b247b071ccf;p=libucw.git diff --git a/charset/stk-charconv.c b/charset/stk-charconv.c index 7fc2d72c..3286f0fe 100644 --- a/charset/stk-charconv.c +++ b/charset/stk-charconv.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Character Conversion with Allocation on the Stack + * Sherlock Library -- Character Conversion with Allocation on the Stack * * (c) 2006 Pavel Charvat * @@ -7,15 +7,15 @@ * of the GNU Lesser General Public License. */ -#include "lib/lib.h" -#include "charset/stk-charconv.h" +#include +#include #include #define INITIAL_MIN_SIZE 16 #define INITIAL_SCALE 2 uns -stk_strconv_init(struct conv_context *c, byte *s, uns in_cs, uns out_cs) +stk_strconv_init(struct conv_context *c, const byte *s, uns in_cs, uns out_cs) { uns l = strlen(s); if (in_cs == out_cs)