From bec233618e7cadfbb3e5da5920b4198487cdad98 Mon Sep 17 00:00:00 2001 From: Juan Carrano Date: Mon, 23 Apr 2018 16:45:25 +0200 Subject: [PATCH] pkg/tlsd: improve docs for the contrib code. --- pkg/tlsf/contrib/include/tlsf-malloc.h | 16 ++++++++-------- pkg/tlsf/contrib/tlsf-malloc.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/tlsf/contrib/include/tlsf-malloc.h b/pkg/tlsf/contrib/include/tlsf-malloc.h index fc84c06f18a6f..d0f41125bba6d 100644 --- a/pkg/tlsf/contrib/include/tlsf-malloc.h +++ b/pkg/tlsf/contrib/include/tlsf-malloc.h @@ -12,13 +12,6 @@ * * @brief TLSF-based global memory allocator. * - * @file - * @{ - * - * @brief TLSF-based global memory allocator. - * @author René Kijewski - * @author Juan I Carrano - * * This is a malloc/free implementation built on top of the TLSF allocator. * It defines a global tlsf_control block and performs allocations on that * block. @@ -31,9 +24,16 @@ * * If this module is used as the system memory allocator, then the global memory * control block should be initialized as the first thing before the stdlib is - * used. Boards should use tlsf_add_pool() at startup to add all the memory + * used. Boards should use tlsf_add_global_pool() at startup to add all the memory * regions they want to make available for dynamic allocation via malloc(). * + * @{ + * @file + * + * @brief TLSF-based global memory allocator. + * @author René Kijewski + * @author Juan I Carrano + * */ #ifndef TLSF_MALLOC_H diff --git a/pkg/tlsf/contrib/tlsf-malloc.c b/pkg/tlsf/contrib/tlsf-malloc.c index e1c4d4ccf0e9e..4468fa977aba7 100644 --- a/pkg/tlsf/contrib/tlsf-malloc.c +++ b/pkg/tlsf/contrib/tlsf-malloc.c @@ -9,8 +9,8 @@ * @ingroup pkg_tlsf_malloc * @ingroup pkg * @ingroup sys - * @file * @{ + * @file * * @brief TLSF-based global memory allocator. * @author René Kijewski