]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: align function prototype
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 12 Dec 2022 19:54:59 +0000 (19:54 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 12 Dec 2022 20:02:58 +0000 (20:02 +0000)
misc-utils/lsblk-devtree.c

index 6f9dc54b3c87d133a6b04fc465562f87a6c00ea5..5e4ff4c3eb18bce6e7b30659dae495967ab1b916 100644 (file)
@@ -30,7 +30,7 @@ void lsblk_reset_iter(struct lsblk_iter *itr, int direction)
        itr->direction = direction;
 }
 
-struct lsblk_device *lsblk_new_device()
+struct lsblk_device *lsblk_new_device(void)
 {
        struct lsblk_device *dev;
 
@@ -233,7 +233,7 @@ int lsblk_device_next_parent(
        return rc;
 }
 
-struct lsblk_devtree *lsblk_new_devtree()
+struct lsblk_devtree *lsblk_new_devtree(void)
 {
        struct lsblk_devtree *tr;