]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/queue.c
Fix header file includes.
[bacula/bacula] / bacula / src / lib / queue.c
index 19fd12599e6e664d7108b984be8d24a46243a9b0..1f3473bc76406d17e33a949a42ecdcc75b6dd760 100644 (file)
@@ -7,7 +7,7 @@
 
                  http://www.fourmilab.ch/smartall/
 
-  
+
        Version $Id$
 
 */
@@ -44,10 +44,10 @@ struct b_queue {
 };
 #endif
 
-/* 
+/*
  * To define a queue, use the following
  *
- *  static BQUEUE xyz = { &xyz, &xyz }; 
+ *  static BQUEUE xyz = { &xyz, &xyz };
  *
  *   Also, note, that the only real requirement is that
  *   the object that is passed to these routines contain
@@ -82,7 +82,7 @@ void qinsert(BQUEUE *qhead, BQUEUE *object)
 
 
 /*  QREMOVE  --  Remove next object from the queue given
-                the queue head (or any item). 
+                the queue head (or any item).
      Returns NULL if queue is empty  */
 
 BQUEUE *qremove(BQUEUE *qhead)
@@ -118,13 +118,13 @@ BQUEUE *qnext(BQUEUE *qhead, BQUEUE *qitem)
           qitem = qhead;
        ASSERT(qi->qprev->qnext == qi);
        ASSERT(qi->qnext->qprev == qi);
-       
+
        if ((object = qi->qnext) == qh)
           return NULL;
        return object;
 #undef qh
 #undef qi
-}         
+}
 
 
 /*  QDCHAIN  --  Dequeue an item from the middle of a queue.  Passed