The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=838adc533fa11b8c4e7da5603377fdd62c2f1d90
commit 838adc533fa11b8c4e7da5603377fdd62c2f1d90 Author: Konstantin Belousov <[email protected]> AuthorDate: 2021-05-01 01:14:24 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2021-05-07 14:08:03 +0000 Style enum obj_type Put each type into dedicated line, which makes addition of new types cleaner. Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D30070 --- sys/vm/vm.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm.h b/sys/vm/vm.h index 9bf77db4118c..678e6eb2d2d8 100644 --- a/sys/vm/vm.h +++ b/sys/vm/vm.h @@ -88,8 +88,16 @@ typedef u_char vm_prot_t; /* protection codes */ #define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE) #define VM_PROT_DEFAULT VM_PROT_ALL -enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS, - OBJT_DEAD, OBJT_SG, OBJT_MGTDEVICE }; +enum obj_type { + OBJT_DEFAULT, + OBJT_SWAP, + OBJT_VNODE, + OBJT_DEVICE, + OBJT_PHYS, + OBJT_DEAD, + OBJT_SG, + OBJT_MGTDEVICE, +}; typedef u_char objtype_t; union vm_map_object; _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
