]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Revert "lib/loopdev.c: Inline loopcxt_has_device"
authorKarel Zak <kzak@redhat.com>
Tue, 18 Jun 2019 20:05:16 +0000 (22:05 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Jun 2019 20:05:16 +0000 (22:05 +0200)
... no caller in that file, this change has no effect.

This reverts commit 3bb960c7b5f1428f1bff885b2667787e8af5001b.

lib/loopdev.c

index ede1b5cdceef52d30ea13f2dea3dc6b3cb3cd392..99a0939260c12511536887625ab8c32b4b4be40f 100644 (file)
@@ -127,7 +127,7 @@ int loopcxt_set_device(struct loopdev_cxt *lc, const char *device)
        return 0;
 }
 
-inline int loopcxt_has_device(struct loopdev_cxt *lc)
+int loopcxt_has_device(struct loopdev_cxt *lc)
 {
        return lc && *lc->device;
 }