X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkcompare.c;h=f38f9486052e9755e4730ed291cecb50b43fe8be;hb=b8844c65622c12fb105bf7fc6bab2fc237af7c14;hp=3ca6daac23f6567377acb8e12996f50a6e2a11d0;hpb=bad279c5dd1ae783ef9393775f0483cc3228cdbb;p=idzebra-moved-to-github.git diff --git a/index/kcompare.c b/index/kcompare.c index 3ca6daa..f38f948 100644 --- a/index/kcompare.c +++ b/index/kcompare.c @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994-1995, Index Data I/S + * Copyright (C) 1994-1996, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: kcompare.c,v $ - * Revision 1.16 1996-05-13 14:23:05 adam + * Revision 1.17 1996-06-04 10:18:58 adam + * Minor changes - removed include of ctype.h. + * + * Revision 1.16 1996/05/13 14:23:05 adam * Work on compaction of set/use bytes in dictionary. * * Revision 1.15 1995/11/20 16:59:46 adam @@ -64,7 +67,6 @@ #include #include #include -#include #include #include "index.h" @@ -124,21 +126,3 @@ int key_qsort_compare (const void *p1, const void *p2) return cp1[l] - cp2[l]; } -int index_char_cvt (int c) -{ - return tolower (c); -} - -#if 1 -int index_word_prefix (char *string, int attset_ordinal, - int local_attribute, - const char *databaseName) -{ - int i; - sprintf (string, "%s@%c%04d", databaseName, - attset_ordinal + '0', local_attribute); - for (i = 0; string[i]; i++) - string[i] = index_char_cvt (string[i]); - return i; -} -#endif