Add local functions edit() and setpid().
authorkrw <krw@openbsd.org>
Fri, 11 Jun 2021 16:22:46 +0000 (16:22 +0000)
committerkrw <krw@openbsd.org>
Fri, 11 Jun 2021 16:22:46 +0000 (16:22 +0000)
commitf05f27a778c31b6bd873efb536e955c6020b597d
treedd85c2de71d4d8d39a3c0fee753e314cb6442827
parent0c027b02f31432a740c47dea85bc28377714e55b
Add local functions edit() and setpid().

Reduce Xedit()/Xsetpid() to parsing the partition number and
invoking [g]edit()/[g]setpid() appropriately.

No intentional functional change.
sbin/fdisk/cmd.c