freebsd-dev/lib/libnv/tests
Enji Cooper 8d86e318ea 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
2016-01-04 03:02:44 +00:00
..
dnv_tests.cc Add sys/types.h for for size_t, etc 2016-01-03 11:22:15 +00:00
Makefile Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
nv_array_tests.cc Rename nitems and string variables to avoid collisions 2016-01-04 03:02:44 +00:00
nv_tests.cc Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_add_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_exists_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_free_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_get_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_move_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
nvlist_send_recv_test.c Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00