summaryrefslogtreecommitdiff
path: root/include/c
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-04-27 16:43:54 +0200
committerrobojumper <robojumper@gmail.com>2024-04-27 16:43:54 +0200
commitf154b7ccd5e11b6758491f83c89148de6fb312bb (patch)
tree8628e9d1f8bfbe3bca209ea3b254e3e9945d87ea /include/c
parent705b0b598e5afa99dc93bb12b49ef2a9d7e38d0b (diff)
Fix compiler warnings
Diffstat (limited to 'include/c')
-rw-r--r--include/c/c_list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/c/c_list.h b/include/c/c_list.h
index 3f958bd2..d4287ade 100644
--- a/include/c/c_list.h
+++ b/include/c/c_list.h
@@ -31,7 +31,7 @@ public:
/* 802e2be0 */ cListMg_c() : mpFirst(nullptr), mpLast(nullptr) {}
// /* 802e2880 */ ~cListMg_c();
- bool insertAfter(cListNd_c *node, cListNd_c *prevNode);
+ void insertAfter(cListNd_c *node, cListNd_c *prevNode);
/**
* @brief Removes a node from the list.
@@ -39,7 +39,7 @@ public:
* @param node The node to remove.
* @return If the operation was successful.
*/
- bool remove(cListNd_c *node);
+ void remove(cListNd_c *node);
/**
* @brief Adds a node to the end of the list.
@@ -47,7 +47,7 @@ public:
* @param node The node to append.
* @return If the operation was successful.
*/
- bool append(cListNd_c *node);
+ void append(cListNd_c *node);
/**
* @brief Adds a node to the beginning of the list.
@@ -55,7 +55,7 @@ public:
* @param node The node to prepend.
* @return If the operation was successful.
*/
- bool prepend(cListNd_c *node);
+ void prepend(cListNd_c *node);
cListNd_c *getFirst() const {
return mpFirst;