From: Karel Zak Date: Tue, 14 Jul 2026 12:31:28 +0000 (+0200) Subject: docs: update libfdisk gtk-doc configuration X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d26198befd3748bc5b821f0bfe1c38519bb809d0;p=thirdparty%2Futil-linux.git docs: update libfdisk gtk-doc configuration - 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 --- diff --git a/libfdisk/docs/libfdisk-docs.xml b/libfdisk/docs/libfdisk-docs.xml index f2150653d..f18b3ba53 100644 --- a/libfdisk/docs/libfdisk-docs.xml +++ b/libfdisk/docs/libfdisk-docs.xml @@ -91,4 +91,16 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/. Index of new symbols in 2.36 + + Index of new symbols in 2.41 + + + + Index of new symbols in 2.42 + + + + Index of new symbols in 2.43 + + diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index d3a6e88d0..0c5cf52bc 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -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)