libmpm

morphux C package management library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/libmpm

commit 75d2aea9765c748f8392734361132ed096ad1735
parent 321bca70a4df5ffa3784f7c1350ef8b7a4ff96d8
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Mon,  6 Mar 2017 19:41:36 +0100

Fix(Comment style): package.{c,h}

Diffstat:
Minc/package.h | 9+++++++++
Msrc/package.c | 8--------
2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/inc/package.h b/inc/package.h @@ -55,7 +55,16 @@ typedef struct s_package { mlist_t *docs; } package_t; +/*! + * \brief Free a package entry + * \note Can be used as list_free callback + */ int mpm_package_free(void *tmp); + +/*! + * \brief Initialize a package entry + * \param ptr Pointer to an allocated ptr + */ void mpm_package_init(package_t *ptr); # include <category.h> diff --git a/src/package.c b/src/package.c @@ -16,10 +16,6 @@ # include <package.h> -/*! - * \brief Free a package entry - * \note Can be used as list_free callback - */ int mpm_package_free(void *tmp) { package_t *ptr = tmp; @@ -40,10 +36,6 @@ int mpm_package_free(void *tmp) { return 1; } -/*! - * \brief Initialize a package entry - * \param ptr Pointer to an allocated ptr - */ void mpm_package_init(package_t *ptr) { if (ptr) {