Split PRT_print() into PRT_print_parthdr() and PRT_print_part()
authorkrw <krw@openbsd.org>
Fri, 21 Jan 2022 17:29:24 +0000 (17:29 +0000)
committerkrw <krw@openbsd.org>
Fri, 21 Jan 2022 17:29:24 +0000 (17:29 +0000)
commit7b70791f9c8b9cf6e4e3dab89a42924d2d036253
tree2773481e6cdd919bd75226ae96b3d81082f7a1ba
parentdd91a1c802f49d3c38547d70c20359e8c79ae255
Split PRT_print() into PRT_print_parthdr() and PRT_print_part()
to align with GPT functions. Simplifies logic and eliminates the
magic invocations to print the header.

No functional change.
sbin/fdisk/cmd.c
sbin/fdisk/mbr.c
sbin/fdisk/part.c
sbin/fdisk/part.h