aboutsummaryrefslogtreecommitdiffstats
path: root/src/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/add.c')
-rw-r--r--src/add.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/add.c b/src/add.c
index fb6bf25..9ffc852 100644
--- a/src/add.c
+++ b/src/add.c
@@ -2,20 +2,15 @@
-void add(DISK *d,int n,char *guid,int start,int end)
+void
+add (DISK * d, int n, char *guid, int start, int end)
{
-GPT_header *h;
-GPT_entry *e;
+ GPT_header *h;
+ GPT_entry *e;
-uint8_t buf[512];
+ uint8_t buf[512];
-disk_read(d,buf,1,1);
-h=(GPT_header *)buf;
+ disk_read (d, buf, 1, 1);
+ h = (GPT_header *) buf;
}
-
-
-
-
-
-