Cleanup Tuple to allow self-typing.
[rrq/rrqmisc.git] / vector / Vector.c
index 31b4065bbfd09a8d2fd44f01ad2a4827bc033edb..35833a5c6b6bd861304a68279f7113f5d09df332 100644 (file)
@@ -632,13 +632,13 @@ void Vector_iterate(Vector *pv,
     }
 }
 
-struct find_data {
+struct FindData {
     void *value;
     VectorIndex index;
 };
 
 static int Vector_find_item(VectorIndex index, void *item,void *data) {
-    struct find_data *fd = (struct find_data*)data;
+    struct FindData *fd = (struct FindData*)data;
     if ( fd->value != item ) {
        return 0;
     }
@@ -647,7 +647,7 @@ static int Vector_find_item(VectorIndex index, void *item,void *data) {
 }
 
 VectorIndex Vector_find(Vector *pv,void *value) {
-    struct find_data fd = {
+    struct FindData fd = {
        .value = value,
        .index = pv->size
     };