blob: a3b5b2aaecbe55dca648701eb057670dc54095f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --color -Naur --ignore-all-space a/atari-fdisk.c b/atari-fdisk.c
--- a/atari-fdisk.c 1998-09-19 02:29:27.000000000 +0100
+++ b/atari-fdisk.c 2021-09-04 22:41:35.286593292 +0100
@@ -182,6 +182,7 @@
#endif
jmp_buf listingbuf;
+enum xpart_fmts xpart_fmt;
diff --color -Naur --ignore-all-space a/fdisk.h b/fdisk.h
--- a/fdisk.h 2021-09-04 22:24:42.258462148 +0100
+++ b/fdisk.h 2021-09-04 22:41:31.398481485 +0100
@@ -86,11 +86,13 @@
char *name;
};
-enum {
+enum xpart_fmts {
xfmt_unknown,
xfmt_AHDI,
xfmt_ICD
-} xpart_fmt; /* which format used for >4 part.s */
+}; /* which format used for >4 part.s */
+
+extern enum xpart_fmts xpart_fmt;
#define MAX_PRIMARY_AHDI 4
#define MAX_PRIMARY_ICD 12
|