X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fdicttest.c;h=181f14a71406f2003b6fb1d3dc77a6c1af27d248;hb=062978fe7432da086bd0cb468149d88d1b6414cf;hp=5d97bb28ced4aa867eafec8c021932c0f6e3fcd1;hpb=d07818ca27f4e0efc9683148cb5d9891d34b9495;p=idzebra-moved-to-github.git diff --git a/dict/dicttest.c b/dict/dicttest.c index 5d97bb2..181f14a 100644 --- a/dict/dicttest.c +++ b/dict/dicttest.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dicttest.c,v $ - * Revision 1.18 1996-02-01 20:39:52 adam + * Revision 1.19 1996-02-02 13:43:50 adam + * The public functions simply use char instead of Dict_char to represent + * search strings. Dict_char is used internally only. + * + * Revision 1.18 1996/02/01 20:39:52 adam * Bug fix: insert didn't work on 8-bit characters due to unsigned char * compares in dict_strcmp (strcmp) and signed Dict_char. Dict_char is * unsigned now. @@ -79,7 +83,7 @@ static Dict dict; static int look_hits; -static int grep_handle (Dict_char *name, const char *info, void *client) +static int grep_handle (char *name, const char *info, void *client) { look_hits++; printf ("%s\n", name);