X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fstemmer.c;h=059a053e4eeeba57239f4382623de7874246a9e9;hp=a8bf02a620f02f90612201f13bc2e3be77adff30;hb=fcdccb3e9a757d41e1bdf6c18c2b3bdb2314ca3f;hpb=e5567b53a976dd18a2a8b51deaa0189d53a2f226 diff --git a/src/stemmer.c b/src/stemmer.c index a8bf02a..059a053 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -1,13 +1,19 @@ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. + */ +/** + * \file stemmer.c + * \brief Implements stemmer wrapper + */ #if HAVE_CONFIG_H -#include "config.h" +#include #endif #if YAZ_HAVE_ICU -#include - #include #include @@ -27,9 +33,7 @@ struct yaz_stemmer_t // Required for cloning. char *locale; char *rule; - union { - struct sb_stemmer *sb_stemmer; - }; + struct sb_stemmer *sb_stemmer; }; const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) {