about summary refs log tree commit diff stats
path: root/part.h
diff options
context:
space:
mode:
Diffstat (limited to 'part.h')
-rw-r--r--part.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/part.h b/part.h
index 7890ca8..a04ef02 100644
--- a/part.h
+++ b/part.h
@@ -26,22 +26,22 @@
 #ifndef PART_H
 #define PART_H
 
-#include <stdio.h>
-#include <stdint.h>
 #include "guid.h"
 
-typedef struct _part {
+#include <stdint.h>
+#include <stdio.h>
+
+struct partition {
 	GUID type;
 	GUID uuid;
-	int id;
 	uint64_t attrs;
-	int sect_start;
-	int sect_length;
 	long src_length;
-	char *name;
 	FILE *src;
-
-	struct _part *next; /* TODO why build a list? */
-} PART;
+	struct partition *next; /* TODO why build a list? */
+	int id;
+	int sect_start;
+	int sect_length;
+	char name[52];
+};
 
 #endif