summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2009-03-12 14:17:59 +0100
committerKarel Zak2009-03-12 14:17:59 +0100
commit17c02484470c80ea97cc194d11d111cc1ca5b8b4 (patch)
treec5ba1dcabcb80975c393bc8e00fd6925462ef060 /include
parentlib: pttype: fix DOS detection (diff)
downloadkernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.tar.gz
kernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.tar.xz
kernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.zip
lib: pttype - extend the API to work with file descriptors
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/pttype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pttype.h b/include/pttype.h
index d6fe8128c..d345501c0 100644
--- a/include/pttype.h
+++ b/include/pttype.h
@@ -6,5 +6,6 @@
* libdisk from xfsprogs to util-linux-ng.
*/
extern const char *get_pt_type(const char *device);
+extern const char *get_pt_type_pt(int fd);
#endif