summaryrefslogtreecommitdiff
path: root/fdisks/common.h
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-11-02 20:15:39 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-11-02 20:15:39 +0400
commitb13154de3eca5ba28fbb4854d916cd0be5febeed (patch)
tree30f2e9e89ab71a2df837076ac68c3ba770230294 /fdisks/common.h
downloadutil-linux-upstream/2.22.tar.gz
Imported Upstream version 2.22upstream/2.22upstream
Diffstat (limited to 'fdisks/common.h')
-rw-r--r--fdisks/common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fdisks/common.h b/fdisks/common.h
new file mode 100644
index 0000000..352b9a5
--- /dev/null
+++ b/fdisks/common.h
@@ -0,0 +1,15 @@
+#ifndef FDISK_COMMON_H
+#define FDISK_COMMON_H
+
+/* common stuff for fdisk, cfdisk, sfdisk */
+
+struct systypes {
+ unsigned char type;
+ char *name;
+};
+
+extern struct systypes i386_sys_types[];
+
+extern char *partname(char *dev, int pno, int lth);
+
+#endif /* FDISK_COMMON_H */