summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_list.h
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2022-12-21 14:38:06 +0300
committerAnup Patel <anup@brainfault.org>2023-01-06 14:56:35 +0300
commit440fa818fbffd0771d75890c4fcda062ceab7ebd (patch)
treeddc51462269d7532149eab1bd60000158c37a535 /include/sbi/sbi_list.h
parent6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8 (diff)
downloadopensbi-440fa818fbffd0771d75890c4fcda062ceab7ebd.tar.xz
treewide: Replace TRUE/FALSE with true/false
C language standard uses true/false for the boolean type. Let's switch to that for better language compatibility. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Samuel Holland <samuel@sholland.org> Tested-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'include/sbi/sbi_list.h')
-rw-r--r--include/sbi/sbi_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_list.h b/include/sbi/sbi_list.h
index b1178df..fe735df 100644
--- a/include/sbi/sbi_list.h
+++ b/include/sbi/sbi_list.h
@@ -47,7 +47,7 @@ static inline void __sbi_list_add(struct sbi_dlist *new,
* Checks if the list is empty or not.
* @param head List head
*
- * Retruns TRUE if list is empty, FALSE otherwise.
+ * Returns true if list is empty, false otherwise.
*/
static inline bool sbi_list_empty(struct sbi_dlist *head)
{