summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-10-21 22:49:37 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-10-21 22:49:37 +0000
commite3ff5dce520d9c30a0911b45bc5608b8f022ef0c (patch)
tree90ea0884dbff111867c56d2738ab0e311cf3c5c3 /sbin/fdisk/part.h
parent64b85db7003ca4383c9eca901082c2eb5574604d (diff)
make fdisk grok extended partitions again. we have to keep track of the
absolute offset of the current mbr and its relative position. because: the starting sector of the first mbr entry in an extended partition is relative to the starting offset of the whole mbr itself. the starting offset of a new extended partition is relative to the offset of the very first extended partition.
Diffstat (limited to 'sbin/fdisk/part.h')
-rw-r--r--sbin/fdisk/part.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fdisk/part.h b/sbin/fdisk/part.h
index 3346834b45c..f42f6df2d51 100644
--- a/sbin/fdisk/part.h
+++ b/sbin/fdisk/part.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.h,v 1.3 1997/10/16 01:47:12 deraadt Exp $ */
+/* $OpenBSD: part.h,v 1.4 1997/10/21 22:49:35 provos Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -46,8 +46,8 @@ typedef struct _prt_t {
/* Prototypes */
void PRT_printall __P((void));
char *PRT_ascii_id __P((int));
-void PRT_parse __P((void *, prt_t *));
-void PRT_make __P((prt_t *, void *));
+void PRT_parse __P((void *, off_t, off_t, prt_t *));
+void PRT_make __P((prt_t *, off_t, off_t, void *));
void PRT_print __P((int, prt_t *));
/* This does CHS -> bs/ns */