From 02b926daece5059798013fbe7a24dd9aeb06d810 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Sep 2014 09:57:14 +0200 Subject: doc style fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsserver/client-list.c | 4 ++-- src/libmdsserver/client-list.h | 4 ++-- src/libmdsserver/fd-table.c | 2 +- src/libmdsserver/fd-table.h | 2 +- src/libmdsserver/hash-table.c | 4 ++-- src/libmdsserver/hash-table.h | 2 +- src/libmdsserver/linked-list.c | 2 +- src/libmdsserver/linked-list.h | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/libmdsserver') 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); -- cgit v1.2.3-70-g09d2