Header updates
[yaz-moved-to-github.git] / src / stemmer.c
index a8bf02a..059a053 100644 (file)
@@ -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
 
 #if HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #if YAZ_HAVE_ICU
 
 #endif
 
 #if YAZ_HAVE_ICU
 
-#include <yaz/yconfig.h>
-
 #include <yaz/stemmer.h>
 
 #include <yaz/xmalloc.h>
 #include <yaz/stemmer.h>
 
 #include <yaz/xmalloc.h>
@@ -27,9 +33,7 @@ struct yaz_stemmer_t
     // Required for cloning.
     char *locale;
     char *rule;
     // 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) {
 };
 
 const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) {