Mercurial > molko
changeset 636:b826e80c53cd
misc: style
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 05 Sep 2023 11:51:52 +0200 |
parents | 3cb1860d9f11 |
children | 19707e3ad048 |
files | libmlk-core/mlk/core/util.h libmlk-util/mlk/util/dir.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmlk-core/mlk/core/util.h Tue Sep 05 11:51:46 2023 +0200 +++ b/libmlk-core/mlk/core/util.h Tue Sep 05 11:51:52 2023 +0200 @@ -39,7 +39,7 @@ * Obtain parent container from a member field. */ #define MLK_CONTAINER_OF(ptr, type, member) \ - ((type*)((char*)(1 ? (ptr) : &((type*)0)->member) - offsetof(type, member))) + ((type *)((char *)(1 ? (ptr) : &((type *)0)->member) - offsetof(type, member))) #if defined(__cplusplus) extern "C" {
--- a/libmlk-util/mlk/util/dir.h Tue Sep 05 11:51:46 2023 +0200 +++ b/libmlk-util/mlk/util/dir.h Tue Sep 05 11:51:52 2023 +0200 @@ -20,7 +20,7 @@ #define MLK_UTIL_DIR_H /** - * \file dir.h + * \file mlk/util/dir.h * \brief Portable directory iterator * * This module provides a convenient portable directory iterator.