From 02e3c4dad405464c2f0cec97203a98e5fb251273 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 13 Feb 2014 17:46:29 +0100 Subject: [PATCH 100/101] DOC: Fix names of arguments in doxygen comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Pavel Březina (cherry picked from commit 3b35ff47651e4893ce537a273466766b962362da) --- src/lib/idmap/sss_idmap.h | 2 +- src/sss_client/idmap/sss_nss_idmap.h | 6 +++--- src/util/util.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/idmap/sss_idmap.h b/src/lib/idmap/sss_idmap.h index ccc63f7f760b877cdb17696325731f8e540b2736..0797083293f7e010962828ddcd72709b290859b9 100644 --- a/src/lib/idmap/sss_idmap.h +++ b/src/lib/idmap/sss_idmap.h @@ -608,7 +608,7 @@ enum idmap_error_code sss_idmap_free_smb_sid(struct sss_idmap_ctx *ctx, * @brief Free mapped binary SID. * * @param[in] ctx Idmap context - * @param[in] smb_sid Binary SID to be freed. + * @param[in] bin_sid Binary SID to be freed. * * @return * - #IDMAP_CONTEXT_INVALID: Provided context is invalid diff --git a/src/sss_client/idmap/sss_nss_idmap.h b/src/sss_client/idmap/sss_nss_idmap.h index be5c506e27f0e418022cff78b48ca3a37aacd5af..79dacfbdb1708569507742fbd8579cf7aaa06d9b 100644 --- a/src/sss_client/idmap/sss_nss_idmap.h +++ b/src/sss_client/idmap/sss_nss_idmap.h @@ -43,7 +43,7 @@ enum sss_id_type { * @param[in] fq_name Fully qualified name of a user or a group * @param[out] sid String representation of the SID of the requested user * or group, must be freed by the caller - * @param[out] id_type Type of the object related to the given name + * @param[out] type Type of the object related to the given name * * @return * - 0 (EOK): success, sid contains the requested SID @@ -63,7 +63,7 @@ int sss_nss_getsidbyname(const char *fq_name, char **sid, * @param[in] id POSIX UID or GID * @param[out] sid String representation of the SID of the requested user * or group, must be freed by the caller - * @param[out] id_type Type of the object related to the given ID + * @param[out] type Type of the object related to the given ID * * @return * - see #sss_nss_getsidbyname @@ -76,7 +76,7 @@ int sss_nss_getsidbyid(uint32_t id, char **sid, enum sss_id_type *type); * @param[in] sid String representation of the SID * @param[out] fq_name Fully qualified name of a user or a group, * must be freed by the caller - * @param[out] id_type Type of the object related to the SID + * @param[out] type Type of the object related to the SID * * @return * - see #sss_nss_getsidbyname diff --git a/src/util/util.h b/src/util/util.h index 7b185bcb4287a4afc5bf67b40164cf69b9beeb19..89684e84a5be6c26fe08e5d3ab3d20d3a0e199b1 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -513,7 +513,7 @@ bool string_in_list(const char *string, char **list, bool case_sensitive); * prevents the compiler from optimizing out * * @param data The address of buffer to wipe - * @param s Size of the buffer + * @param size Size of the buffer */ void safezero(void *data, size_t size); -- 1.8.5.3