]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: update libfdisk gtk-doc configuration
authorKarel Zak <kzak@redhat.com>
Tue, 14 Jul 2026 12:31:28 +0000 (14:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jul 2026 12:35:39 +0000 (14:35 +0200)
- add api-index entries for versions 2.41, 2.42 and 2.43
- add missing @start and @size parameter docs for
  fdisk_is_collision_area()
- fix "Since: v2.42" -> "Since: 2.42"

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/docs/libfdisk-docs.xml
libfdisk/src/context.c

index f2150653deea7cbdba12179a80671e40101d727d..f18b3ba5340aa7740bb5f293912c9f81d88585bf 100644 (file)
@@ -91,4 +91,16 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/.
     <title>Index of new symbols in 2.36</title>
     <xi:include href="xml/api-index-2.36.xml"><xi:fallback /></xi:include>
   </index>
+  <index role="2.41">
+    <title>Index of new symbols in 2.41</title>
+    <xi:include href="xml/api-index-2.41.xml"><xi:fallback /></xi:include>
+  </index>
+  <index role="2.42">
+    <title>Index of new symbols in 2.42</title>
+    <xi:include href="xml/api-index-2.42.xml"><xi:fallback /></xi:include>
+  </index>
+  <index role="2.43">
+    <title>Index of new symbols in 2.43</title>
+    <xi:include href="xml/api-index-2.43.xml"><xi:fallback /></xi:include>
+  </index>
 </book>
index d3a6e88d0a6e3367c46812aa3dea32927de2400b..0c5cf52bc3d50281c226767ace9e228428c90d15 100644 (file)
@@ -452,13 +452,15 @@ int fdisk_is_ptcollision(struct fdisk_context *cxt)
 /**
  * fdisk_is_collision_area:
  * @cxt: fdisk context
+ * @start: begin of the area (in bytes)
+ * @size: size of the area (in bytes)
  *
  * If there is a collision with the filesystem or another partition table,
  * verify that the detected magic string is within the specified area.
  *
  * Returns: 0 or 1
  *
- * Since: v2.42
+ * Since: 2.42
  */
 int fdisk_is_collision_area(struct fdisk_context *cxt,
                uint64_t start, uint64_t size)