X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fopen.c;h=d96f989cec96794449fea489ed5ac58b3735f4ef;hb=ba572d8e1de44023f355c09c4250328aba0e9a47;hp=9597b86b26f7926176eae7117943d40003225cb2;hpb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;p=idzebra-moved-to-github.git diff --git a/dict/open.c b/dict/open.c index 9597b86..d96f989 100644 --- a/dict/open.c +++ b/dict/open.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: open.c,v $ - * Revision 1.16 1999-05-26 07:49:13 adam + * Revision 1.17 2000-12-05 09:59:10 adam + * Work on dict_delete_subtree. + * + * Revision 1.16 1999/05/26 07:49:13 adam * C++ compilation. * * Revision 1.15 1999/05/15 14:36:37 adam @@ -132,6 +135,11 @@ int dict_strcmp (const Dict_char *s1, const Dict_char *s2) return strcmp ((const char *) s1, (const char *) s2); } +int dict_strncmp (const Dict_char *s1, const Dict_char *s2, size_t n) +{ + return strncmp ((const char *) s1, (const char *) s2, n); +} + int dict_strlen (const Dict_char *s) { return strlen((const char *) s);