X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fstemmer.c;h=eab95c74749a19fb531b1ec2c3adf325f662a052;hp=a8bf02a620f02f90612201f13bc2e3be77adff30;hb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;hpb=e5567b53a976dd18a2a8b51deaa0189d53a2f226 diff --git a/src/stemmer.c b/src/stemmer.c index a8bf02a..eab95c7 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -1,13 +1,19 @@ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2012 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) {