summaryrefslogtreecommitdiff
path: root/src/simple_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simple_list.h')
-rw-r--r--src/simple_list.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/simple_list.h b/src/simple_list.h
index ff7f8882..0be4ad1a 100644
--- a/src/simple_list.h
+++ b/src/simple_list.h
@@ -2,7 +2,7 @@
* \file simple_list.h
* Simple macros for type-safe, intrusive lists.
*
- * Intended to work with a list sentinal which is created as an empty
+ * Intended to work with a list sentinel which is created as an empty
* list. Insert & delete are O(1).
*
* \author
@@ -108,12 +108,12 @@ do { \
/**
* Make a empty list empty.
*
- * \param sentinal list (sentinal element).
+ * \param sentinel list (sentinel element).
*/
-#define make_empty_list(sentinal) \
+#define make_empty_list(sentinel) \
do { \
- (sentinal)->next = sentinal; \
- (sentinal)->prev = sentinal; \
+ (sentinel)->next = sentinel; \
+ (sentinel)->prev = sentinel; \
} while (0)
/**