aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/hardware.h
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2022-12-21 23:59:43 +0800
committerJia Tan <jiat0218@gmail.com>2023-01-20 00:51:12 +0800
commit6fcf4671b6047113c583a0919fc850987a4ec5f4 (patch)
tree47fc755df1233362ddb9094396814ca0de073198 /src/liblzma/api/lzma/hardware.h
parenttuklib_physmem: Silence warning from -Wcast-function-type on MinGW-w64. (diff)
downloadxz-6fcf4671b6047113c583a0919fc850987a4ec5f4.tar.xz
liblzma: Highlight liblzma API headers should not be included directly.
This improves the generated Doxygen HTML files to better highlight how to properly use the liblzma API header files.
Diffstat (limited to 'src/liblzma/api/lzma/hardware.h')
-rw-r--r--src/liblzma/api/lzma/hardware.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/hardware.h b/src/liblzma/api/lzma/hardware.h
index 7040aae4..974f210c 100644
--- a/src/liblzma/api/lzma/hardware.h
+++ b/src/liblzma/api/lzma/hardware.h
@@ -1,6 +1,9 @@
/**
* \file lzma/hardware.h
* \brief Hardware information
+ * \note Never include this file directly. Use <lzma.h> instead.
+ *
+ * See ../lzma.h for information about liblzma as a whole.
*
* Since liblzma can consume a lot of system resources, it also provides
* ways to limit the resource usage. Applications linking against liblzma
@@ -25,8 +28,6 @@
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
- *
- * See ../lzma.h for information about liblzma as a whole.
*/
#ifndef LZMA_H_INTERNAL