summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/swapon-common.h')
-rw-r--r--sys-utils/swapon-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/swapon-common.h b/sys-utils/swapon-common.h
index 53ba15e0e..da58e199d 100644
--- a/sys-utils/swapon-common.h
+++ b/sys-utils/swapon-common.h
@@ -1,6 +1,7 @@
#ifndef UTIL_LINUX_SWAPON_COMMON_H
#define UTIL_LINUX_SWAPON_COMMON_H
+#include <blkid.h>
#include <libmount.h>
extern struct libmnt_cache *mntcache;
@@ -22,5 +23,6 @@ extern void add_uuid(const char *uuid);
extern const char *get_uuid(size_t i);
extern size_t numof_uuids(void);
+blkid_probe get_swap_prober(const char *devname);
#endif /* UTIL_LINUX_SWAPON_COMMON_H */