aboutsummaryrefslogtreecommitdiffstats
path: root/src/htable.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-06-09 21:36:37 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-06-09 21:37:22 +0200
commitb2645847a0b1bdd585a119504333e78e7c0ce02c (patch)
tree1f7564157376d1ab8798bbe0c59d93f263dc08dc /src/htable.h
parent4e6e3a9c973c36db5bf10e8f0b645f9de708845f (diff)
downloadcalcurse-b2645847a0b1bdd585a119504333e78e7c0ce02c.tar.gz
calcurse-b2645847a0b1bdd585a119504333e78e7c0ce02c.zip
Fix whitespace issues
Strip trailing whitespaces in all source files. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/htable.h')
-rw-r--r--src/htable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htable.h b/src/htable.h
index 2f7027b..10d04c1 100644
--- a/src/htable.h
+++ b/src/htable.h
@@ -44,7 +44,7 @@
* number). It works by transforming the key using a hash function into a hash,
* a number that is used as an index in an array to locate the desired location
* ("bucket") where the values should be.
- *
+ *
* Hash tables support the efficient insertion of new entries, in expected O(1)
* time. The time spent in searching depends on the hash function and the load
* of the hash table; both insertion and search approach O(1) time with well
@@ -59,7 +59,7 @@
* capacity of data would only be about twice as slow on average as the same
* table at its recommended capacity).
*/
-
+
#define HTABLE_HEAD(name, size, type) \
struct name { \
uint32_t noitems; /* Number of items stored in hash table. */ \
@@ -287,7 +287,7 @@ name##_HTABLE_NEXT(struct name *head, struct type *elm) \
#define HTABLE_LOOKUP(name, x, y) name##_HTABLE_LOOKUP(x, y)
#define HTABLE_FIRST_FROM(name, x, y) (HTABLE_EMPTY(x) ? NULL \
: name##_HTABLE_FIRST_FROM(x, y))
-#define HTABLE_FIRST(name, x) HTABLE_FIRST_FROM(name, x, FIRST_BKT)
+#define HTABLE_FIRST(name, x) HTABLE_FIRST_FROM(name, x, FIRST_BKT)
#define HTABLE_NEXT(name, x, y) (HTABLE_EMPTY(x) ? NULL \
: name##_HTABLE_NEXT(x, y))