HomeFreeBSD

Rename nitems and string variables to avoid collisions

Description

Rename nitems and string variables to avoid collisions

Rename the nitems variable to num_items to avoid collisions with the
macro in sys/param.h for counting elements in an array

Similarly, rename string to string_arr to avoid future collisions with
potential keywords, as well as make it clear that string_arr isn't a char*
value, but instead a char** value.

Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff)
MFC after: 5 days
Reviewed by: oshogbo
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on Jan 4 2016, 3:02 AM
Parents
rG4717ada9cdfe: Make arguments for booke_init() u_long, to match register width.
Branches
Unknown
Tags
Unknown

Event Timeline