]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (docs) add missing version notes
authorKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2016 09:58:32 +0000 (11:58 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2016 09:58:32 +0000 (11:58 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/docs/libfdisk-docs.xml
libfdisk/src/item.c
libfdisk/src/partition.c

index abf15306bd0c4dafc0a190ce62a79514ba2e37c8..d1cb96324075607d30da46e1c20e169f6b96307a 100644 (file)
@@ -61,4 +61,8 @@ available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
     <title>API Index</title>
     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
   </index>
+  <index role="2.29">
+    <title>Index of new symbols in 2.29</title>
+    <xi:include href="xml/api-index-2.29.xml"><xi:fallback /></xi:include>
+  </index>
 </book>
index bdeba2962512e941e1ee736597d454a7e77e7127..c629b7871a65b04f35294b2815e0ba83bb796563 100644 (file)
@@ -32,7 +32,6 @@
  * fdisk_new_labelitem
  *
  * Returns: new instance.
- *
  * Since: v2.29
  */
 struct fdisk_labelitem *fdisk_new_labelitem(void)
@@ -49,7 +48,6 @@ struct fdisk_labelitem *fdisk_new_labelitem(void)
  * @li: label item
  *
  * Increments reference counter.
- *
  * Since: v2.29
  */
 void fdisk_ref_labelitem(struct fdisk_labelitem *li)
@@ -64,6 +62,7 @@ void fdisk_ref_labelitem(struct fdisk_labelitem *li)
  *
  * Zeroize data stored in the @li (does not modify anything in disk label).
  *
+ * Returns: 0 on success, or <0 in case of error
  * Since: v2.29
  */
 int fdisk_reset_labelitem(struct fdisk_labelitem *li)
@@ -169,6 +168,7 @@ int fdisk_labelitem_get_data_string(struct fdisk_labelitem *li, const char **dat
  * @li: label item
  *
  * Returns: 0 or 1
+ * Since: v2.29
  */
 int fdisk_labelitem_is_string(struct fdisk_labelitem *li)
 {
@@ -180,6 +180,7 @@ int fdisk_labelitem_is_string(struct fdisk_labelitem *li)
  * @li: label item
  *
  * Returns: 0 or 1
+ * Since: v2.29
  */
 int fdisk_labelitem_is_number(struct fdisk_labelitem *li)
 {
index 5e2de76ee9aced8a06412d1d19c61efba9fb1236..f507f20e36c8c7ed17689a7b5cb83daad7db3f2e 100644 (file)
@@ -1287,6 +1287,7 @@ done:
  * Enable/disable filesystems/RAIDs wiping in area defined by partition start and size.
  *
  * Returns: <0 in case of error, 0 on success
+ * Since: 2.29
  */
 int fdisk_wipe_partition(struct fdisk_context *cxt, size_t partno, int enable)
 {