summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-10-28 09:50:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2020-10-28 10:40:41 +0200
commit0b75075a8d006c8f792d33a57eae7da6b66a4591 (patch)
tree87de262e9121a76002eb08ea412604802f6ec11f /lib/headerfmt.c
parent831461f36d13ce9d1f73d780c6e9bb6b0d2889f3 (diff)
downloadrpm-0b75075a8d006c8f792d33a57eae7da6b66a4591.tar.gz
Shut up bogus Doxygen warnings about undocumented parameters
As of Doxygen >= 1.8.20 it started complaining about anything marked as @retval being undocumented. As this is widely used in rpm... Mass-replace all @retval uses with @param[out] to silence. Some of these are actually in/out parameters but combing through all of them is a bit too much... Also escape <CR><LF> in rpmpgp.h to shut up yet another new warning.
Diffstat (limited to 'lib/headerfmt.c')
-rw-r--r--lib/headerfmt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/headerfmt.c b/lib/headerfmt.c
index 6b0372d2c..c151c7ad5 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -287,9 +287,9 @@ static int parseExpression(headerSprintfArgs hsa, sprintfToken token,
* Parse a headerSprintf term.
* @param hsa headerSprintf args
* @param str
- * @retval *formatPtr
- * @retval *numTokensPtr
- * @retval *endPtr
+ * @param[out] *formatPtr
+ * @param[out] *numTokensPtr
+ * @param[out] *endPtr
* @param state
* @return 0 on success
*/
@@ -609,9 +609,9 @@ static rpmtd getCached(tagCache cache, rpmTagVal tag)
* Do headerGet() just once for given tag, cache results.
* @param hsa headerSprintf args
* @param tag
- * @retval *typeptr
- * @retval *data
- * @retval *countptr
+ * @param[out] *typeptr
+ * @param[out] *data
+ * @param[out] *countptr
* @return 1 on success, 0 on failure
*/
static rpmtd getData(headerSprintfArgs hsa, rpmTagVal tag)