summaryrefslogtreecommitdiffstats
path: root/fdisks/common.h
diff options
context:
space:
mode:
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 000000000..352b9a597
--- /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 */