Bump copyright year
[idzebra-moved-to-github.git] / dict / drdwr.c
index f66f8df..5608e8a 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2011 Index Data
+   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
@@ -19,6 +19,9 @@
 
 
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <sys/types.h>
 #include <fcntl.h>
 #if HAVE_UNISTD_H
@@ -56,7 +59,7 @@ static void release_block(Dict_BFile bf, struct Dict_file_block *p)
 {
     assert(p);
 
-    /* remove from lru queue */    
+    /* remove from lru queue */
     if (p->lru_prev)
         p->lru_prev->lru_next = p->lru_next;
     else
@@ -103,7 +106,7 @@ void dict_bf_flush_blocks(Dict_BFile bf, int no_to_flush)
                             effective_block, effective_offset,
                             p->nbytes);
 #endif
-                         
+
                }
                else
                {
@@ -155,7 +158,7 @@ static struct Dict_file_block *alloc_block(Dict_BFile bf, int no)
     if (*pp)
         (*pp)->h_prev = &p->h_next;
     *pp = p;
-   
+
     return p;
 }
 
@@ -163,7 +166,7 @@ static void move_to_front(Dict_BFile bf, struct Dict_file_block *p)
 {
     /* Already at front? */
     if (!p->lru_next)
-        return ;   
+        return ;
 
     /* Remove */
     if (p->lru_prev)