diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-22 09:36:23 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-06 23:37:35 +0000 |
commit | 8fc442d6a67a35b031be7e725a0999a7e0403b4f (patch) | |
tree | f45c1ec9d6b5694655434c2381c740339a35cf67 /src/simple_list.h | |
parent | 11d549d591c7a6f19d2b39d069e99febbd3113da (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/simple_list.h')
-rw-r--r-- | src/simple_list.h | 10 |
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) /** |