]> code.delx.au - spectrwm/commitdiff
Cleanup osx/queue.h whitespace.
authorReginald Kennedy <rk@rejii.com>
Thu, 21 May 2015 01:45:39 +0000 (09:45 +0800)
committerReginald Kennedy <rk@rejii.com>
Fri, 22 May 2015 00:41:35 +0000 (08:41 +0800)
Remove TAILQ_END from osx/osx.h since it is in osx/queue.h.

osx/osx.h
osx/queue.h

index ef10f15acc697d19a749858d62f4d3b8510734a6..c5786d9a9393826b1d74c3a94d77a1c592333a5a 100644 (file)
--- a/osx/osx.h
+++ b/osx/osx.h
@@ -1,5 +1 @@
 long long strtonum(const char *, long long, long long, const char **);
-
-#ifndef TAILQ_END
-#define        TAILQ_END(head)                 NULL
-#endif
index 1db784fe8df8587a6343272a4b01fab156f5ced1..567177c4c436bdc3234a7089e53ee32fd79006e2 100644 (file)
@@ -36,7 +36,7 @@
 #define        _SYS_QUEUE_H_
 
 /*
- * This file defines five types of data structures: singly-linked lists, 
+ * This file defines five types of data structures: singly-linked lists,
  * lists, simple queues, tail queues, and circular queues.
  *
  *
 struct name {                                                          \
        struct type *slh_first; /* first element */                     \
 }
+
 #define        SLIST_HEAD_INITIALIZER(head)                                    \
        { NULL }
+
 #define SLIST_ENTRY(type)                                              \
 struct {                                                               \
        struct type *sle_next;  /* next element */                      \
 }
+
 /*
  * Singly-linked List access methods.
  */
@@ -411,7 +411,7 @@ struct {                                                            \
                    XSIMPLEQ_XOR(head, &(elm)->field.sqx_next);         \
 } while (0)
 
-                   
+
 /*
  * Tail queue definitions.
  */
@@ -430,8 +430,8 @@ struct {                                                            \
        struct type **tqe_prev; /* address of previous next element */  \
 }
 
-/* 
- * tail queue access methods 
+/*
+ * tail queue access methods
  */
 #define        TAILQ_FIRST(head)               ((head)->tqh_first)
 #define        TAILQ_END(head)                 NULL
@@ -568,7 +568,7 @@ struct {                                                            \
 }
 
 /*
- * Circular queue access methods 
+ * Circular queue access methods
  */
 #define        CIRCLEQ_FIRST(head)             ((head)->cqh_first)
 #define        CIRCLEQ_LAST(head)              ((head)->cqh_last)