Reformat: delete trailing whitespace
[idzebra-moved-to-github.git] / util / it_key.c
index 7e4417c..5ec244b 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: it_key.c,v 1.1 2006-11-21 14:32:38 adam Exp $
-   Copyright (C) 1995-2006
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 1994-2011 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
@@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -132,7 +132,7 @@ int key_qsort_compare (const void *p1, const void *p2)
     size_t l;
     char *cp1 = *(char **) p1;
     char *cp2 = *(char **) p2;
+
     if ((r = strcmp (cp1, cp2)))
         return r;
     l = strlen(cp1)+1;
@@ -216,7 +216,7 @@ void iscz1_encode (void *vp, char **dst, const char **src)
         3, 2, 9, 12
         3, 2, 10, 2
         4, 1
-        
+
         if diff is 0, then there is more ...
         if diff is non-zero, then _may_ be more
     */
@@ -274,6 +274,7 @@ void iscz1_decode (void *vp, char **dst, const char **src)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab