mirror of
https://github.com/bkthomps/Containers.git
synced 2025-11-16 12:34:47 +00:00
Rename outdated terms (#149)
Rename terms that can be considered ableist.
This commit is contained in:
@@ -633,7 +633,7 @@ static int compare_big_object(const void *const one, const void *const two)
|
|||||||
return a->n - b->n;
|
return a->n - b->n;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int compare_dummy(const void *const one, const void *const two)
|
static int compare_placeholder(const void *const one, const void *const two)
|
||||||
{
|
{
|
||||||
(void) one;
|
(void) one;
|
||||||
(void) two;
|
(void) two;
|
||||||
@@ -645,7 +645,7 @@ static void test_big_object(void)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
multimap me = multimap_init(sizeof(int), sizeof(struct big_object),
|
multimap me = multimap_init(sizeof(int), sizeof(struct big_object),
|
||||||
compare_big_object, compare_dummy);
|
compare_big_object, compare_placeholder);
|
||||||
assert(me);
|
assert(me);
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
int j;
|
int j;
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ static int compare_big_object(const void *const one, const void *const two)
|
|||||||
return a->n - b->n;
|
return a->n - b->n;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int compare_dummy(const void *const one, const void *const two)
|
static int compare_placeholder(const void *const one, const void *const two)
|
||||||
{
|
{
|
||||||
(void) one;
|
(void) one;
|
||||||
(void) two;
|
(void) two;
|
||||||
@@ -435,7 +435,7 @@ static void test_big_object(void)
|
|||||||
sizeof(struct big_object),
|
sizeof(struct big_object),
|
||||||
bad_hash_int,
|
bad_hash_int,
|
||||||
compare_big_object,
|
compare_big_object,
|
||||||
compare_dummy);
|
compare_placeholder);
|
||||||
assert(me);
|
assert(me);
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
int j;
|
int j;
|
||||||
|
|||||||
Reference in New Issue
Block a user