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

Provenance
kibAuthored on
Parents
rS348797: Fix for reading the configuration descriptor in libusb. Catch invalid
Branches
Unknown
Tags
Unknown