diff options
Diffstat (limited to 'sbin/fdisk/user.c')
-rw-r--r-- | sbin/fdisk/user.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/sbin/fdisk/user.c b/sbin/fdisk/user.c index 63cc38932e6..7be29c73636 100644 --- a/sbin/fdisk/user.c +++ b/sbin/fdisk/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.20 2003/06/03 01:13:19 weingart Exp $ */ +/* $OpenBSD: user.c,v 1.21 2003/06/11 06:22:12 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -63,10 +63,7 @@ static cmd_table_t cmd_table[] = { int -USER_init(disk, tt, preserve) - disk_t *disk; - mbr_t *tt; - int preserve; +USER_init(disk_t *disk, mbr_t *tt, int preserve) { int fd, yn; char mbr_buf[DEV_BSIZE]; @@ -102,11 +99,7 @@ USER_init(disk, tt, preserve) int modified; int -USER_modify(disk, tt, offset, reloff) - disk_t *disk; - mbr_t *tt; - off_t offset; - off_t reloff; +USER_modify(disk_t *disk, mbr_t *tt, off_t offset, off_t reloff) { static int editlevel; char mbr_buf[DEV_BSIZE]; @@ -187,8 +180,7 @@ again: } int -USER_print_disk(disk) - disk_t *disk; +USER_print_disk(disk_t *disk) { int fd, offset, firstoff, i; char mbr_buf[DEV_BSIZE]; |