[PATCH 1/2] Add missing parameter names to silence doxygen
Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/alpm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 50b5e3d2..5eaf0500 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -967,7 +967,7 @@ typedef union _alpm_event_t { * Called when an event occurs * @param ctx user-provided context * @param event the event that occurred */ -typedef void (*alpm_cb_event)(void *ctx, alpm_event_t *); +typedef void (*alpm_cb_event)(void *ctx, alpm_event_t *event); /** * Type of question. @@ -1114,7 +1114,7 @@ typedef union _alpm_question_t { * @param ctx user-provided context * @param question the question being asked. */ -typedef void (*alpm_cb_question)(void *ctx, alpm_question_t *); +typedef void (*alpm_cb_question)(void *ctx, alpm_question_t *question); /** An enum over different kinds of progress alerts. */ typedef enum _alpm_progress_t { -- 2.35.1
Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/alpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 5eaf0500..05eb248a 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -107,7 +107,7 @@ typedef struct _alpm_db_t alpm_db_t; * Packages from databases are automatically freed when the database is unregistered. Packages loaded * from a file must be freed manually. * - * Packages can then be queried for metadata or added to a \link alpm_trans_t transaction \endlink + * Packages can then be queried for metadata or added to a transaction \endlink * to be added or removed from the system. * @ingroup libalpm_packages */ -- 2.35.1
participants (1)
-
Allan McRae