Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / test / api / test_sort3.c
index aabf73d..c45b58f 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1995-2008 Index Data
+   Copyright (C) Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -17,10 +17,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
-/** \file 
+/** \file
     \brief sort using various sortindex types
  */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <yaz/test.h>
 #include "testlib.h"
 
@@ -32,7 +35,7 @@ const char *myrec[] = {
     "</gils>\n",
 
     /* 3 */
-    "<gils>\n" 
+    "<gils>\n"
     "  <title>My x title</title>\n"
     "  <title>B</title>\n"
     "</gils>\n",
@@ -43,7 +46,7 @@ const char *myrec[] = {
     "  <title>A</title>\n"
     "</gils>\n" ,
     0} ;
-       
+
 static void tst_sortindex(int argc, char **argv, const char *type)
 {
     zint ids[5];
@@ -55,7 +58,7 @@ static void tst_sortindex(int argc, char **argv, const char *type)
     res_set(res, "sortindex", type);
 
     zh = zebra_open(zs, res);
-    
+
     YAZ_CHECK(tl_init_data(zh, myrec));
 
     if (strcmp(type, "m"))
@@ -105,6 +108,7 @@ TL_MAIN
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab