aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-21 13:02:33 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-21 13:02:33 +0200
commitf50534c973a591ccf65485adfc827a8a7126ca6c (patch)
treec57f682507355c6f902a77e62a2e309a3141f781
parentxz: Refactor duplicate code from hardware_memlimit_mtenc_get(). (diff)
downloadxz-f50534c973a591ccf65485adfc827a8a7126ca6c.tar.xz
liblzma: Fix two Doxygen commands in the API headers.
These were caught by clang -Wdocumentation.
-rw-r--r--src/liblzma/api/lzma/hardware.h2
-rw-r--r--src/liblzma/api/lzma/index_hash.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/hardware.h b/src/liblzma/api/lzma/hardware.h
index 47481f25..7040aae4 100644
--- a/src/liblzma/api/lzma/hardware.h
+++ b/src/liblzma/api/lzma/hardware.h
@@ -57,7 +57,7 @@ extern LZMA_API(uint64_t) lzma_physmem(void) lzma_nothrow;
* If the hardware supports more than one thread per CPU core, the number
* of hardware threads is returned if that information is available.
*
- * \brief On success, the number of available CPU threads or cores is
+ * \return On success, the number of available CPU threads or cores is
* returned. If this information isn't available or an error
* occurs, zero is returned.
*/
diff --git a/src/liblzma/api/lzma/index_hash.h b/src/liblzma/api/lzma/index_hash.h
index 9287f1df..8ff41633 100644
--- a/src/liblzma/api/lzma/index_hash.h
+++ b/src/liblzma/api/lzma/index_hash.h
@@ -52,7 +52,7 @@ extern LZMA_API(void) lzma_index_hash_end(
/**
* \brief Add a new Record to an Index hash
*
- * \param index Pointer to a lzma_index_hash structure
+ * \param index_hash Pointer to a lzma_index_hash structure
* \param unpadded_size Unpadded Size of a Block
* \param uncompressed_size Uncompressed Size of a Block
*