Log XML2/XSLT errors to yaz_log
[idzebra-moved-to-github.git] / index / dir.c
index 3dfe2bd..44478fb 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: dir.c,v 1.36 2007-10-29 09:25:40 adam Exp $
-   Copyright (C) 1995-2007
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 2004-2013 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
@@ -21,6 +18,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <assert.h>
@@ -140,7 +140,7 @@ void dir_sort(struct dir_entry *e)
     size_t nmemb = 0;
     while (e[nmemb].name)
         nmemb++;
-    qsort(e, nmemb, sizeof(*e), dir_cmp); 
+    qsort(e, nmemb, sizeof(*e), dir_cmp);
 }
 
 void dir_free(struct dir_entry **e_p)
@@ -157,6 +157,7 @@ void dir_free(struct dir_entry **e_p)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab