HomeFreeBSD

amd64 trap.c: Modernize syntax around trap_msg[].

Description

amd64 trap.c: Modernize syntax around trap_msg[].

Convert the array to use C99 initializers.
Make it constant.
Replace MAX_TRAP_MSG with nitems().

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Committed
kibJun 8 2019, 1:40 PM
Parents
rS348797: Fix for reading the configuration descriptor in libusb. Catch invalid
Branches
Unknown
Tags
Unknown