aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmdsserver')
-rw-r--r--src/libmdsserver/client-list.c4
-rw-r--r--src/libmdsserver/client-list.h4
-rw-r--r--src/libmdsserver/fd-table.c2
-rw-r--r--src/libmdsserver/fd-table.h2
-rw-r--r--src/libmdsserver/hash-table.c4
-rw-r--r--src/libmdsserver/hash-table.h2
-rw-r--r--src/libmdsserver/linked-list.c2
-rw-r--r--src/libmdsserver/linked-list.h2
8 files changed, 11 insertions, 11 deletions
diff --git a/src/libmdsserver/client-list.c b/src/libmdsserver/client-list.c
index d7d7c9c..66fc2ae 100644
--- a/src/libmdsserver/client-list.c
+++ b/src/libmdsserver/client-list.c
@@ -127,7 +127,7 @@ int client_list_clone(const client_list_t* restrict this, client_list_t* restric
*
* @param this The list
* @param client The client to add
- * @return Non-zero on error, errno will be set accordingly
+ * @return Non-zero on error, `errno` will be set accordingly
*/
int client_list_add(client_list_t* restrict this, uint64_t client)
{
@@ -212,7 +212,7 @@ void client_list_marshal(const client_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new client list
* @param data In buffer with the marshalled data
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the list on error.
*/
int client_list_unmarshal(client_list_t* restrict this, char* restrict data)
diff --git a/src/libmdsserver/client-list.h b/src/libmdsserver/client-list.h
index 1894b63..bfb184f 100644
--- a/src/libmdsserver/client-list.h
+++ b/src/libmdsserver/client-list.h
@@ -82,7 +82,7 @@ int client_list_clone(const client_list_t* restrict this, client_list_t* restric
*
* @param this The list
* @param client The client to add
- * @return Non-zero on error, errno will be set accordingly
+ * @return Non-zero on error, `errno` will be set accordingly
*/
int client_list_add(client_list_t* restrict this, uint64_t client);
@@ -115,7 +115,7 @@ void client_list_marshal(const client_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new client list
* @param data In buffer with the marshalled data
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the list on error.
*/
int client_list_unmarshal(client_list_t* restrict this, char* restrict data);
diff --git a/src/libmdsserver/fd-table.c b/src/libmdsserver/fd-table.c
index 0852eb6..960b3e4 100644
--- a/src/libmdsserver/fd-table.c
+++ b/src/libmdsserver/fd-table.c
@@ -268,7 +268,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data)
* @param this Memory slot in which to store the new fd table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper)
diff --git a/src/libmdsserver/fd-table.h b/src/libmdsserver/fd-table.h
index 289a401..bd5a2f7 100644
--- a/src/libmdsserver/fd-table.h
+++ b/src/libmdsserver/fd-table.h
@@ -170,7 +170,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data);
* @param this Memory slot in which to store the new fd table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper);
diff --git a/src/libmdsserver/hash-table.c b/src/libmdsserver/hash-table.c
index dac9303..c0de355 100644
--- a/src/libmdsserver/hash-table.c
+++ b/src/libmdsserver/hash-table.c
@@ -65,7 +65,7 @@ static inline size_t __attribute__((pure)) truncate_hash(const hash_table_t* res
* Grow the table
*
* @param this The hash table
- * @return Non zero on error, errno will be set accordingly
+ * @return Non zero on error, `errno` will be set accordingly
*/
static int rehash(hash_table_t* restrict this)
{
@@ -453,7 +453,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data)
* @param this Memory slot in which to store the new hash table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper)
diff --git a/src/libmdsserver/hash-table.h b/src/libmdsserver/hash-table.h
index 789af20..21a6b2f 100644
--- a/src/libmdsserver/hash-table.h
+++ b/src/libmdsserver/hash-table.h
@@ -252,7 +252,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data);
* @param this Memory slot in which to store the new hash table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper);
diff --git a/src/libmdsserver/linked-list.c b/src/libmdsserver/linked-list.c
index 292c610..6c8e185 100644
--- a/src/libmdsserver/linked-list.c
+++ b/src/libmdsserver/linked-list.c
@@ -427,7 +427,7 @@ void linked_list_marshal(const linked_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new linked list
* @param data In buffer with the marshalled data
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the list on error.
*/
int linked_list_unmarshal(linked_list_t* restrict this, char* restrict data)
diff --git a/src/libmdsserver/linked-list.h b/src/libmdsserver/linked-list.h
index d6f56c5..3a512aa 100644
--- a/src/libmdsserver/linked-list.h
+++ b/src/libmdsserver/linked-list.h
@@ -262,7 +262,7 @@ void linked_list_marshal(const linked_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new linked list
* @param data In buffer with the marshalled data
- * @return Non-zero on error, errno will be set accordingly.
+ * @return Non-zero on error, `errno` will be set accordingly.
* Destroy the list on error.
*/
int linked_list_unmarshal(linked_list_t* restrict this, char* restrict data);