ClangTidy: avoid different parameter names for same function

This commit is contained in:
Marius Messerschmidt
2023-11-17 22:38:09 +01:00
parent 42c03b2383
commit 6fe0eb5677
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ typedef struct FFBoardResult
FFstrbuf version;
} FFBoardResult;
const char* ffDetectBoard(FFBoardResult* result);
const char* ffDetectBoard(FFBoardResult* board);
+1 -1
View File
@@ -23,4 +23,4 @@ typedef struct FFDisk
* Returns a List of FFDisk, sorted alphabetically by mountpoint.
* If error is not set, disks contains at least one disk.
*/
const char* ffDetectDisks(FFDiskOptions* options, FFlist* result /* list of FFDisk */);
const char* ffDetectDisks(FFDiskOptions* options, FFlist* disks /* list of FFDisk */);
+1 -1
View File
@@ -11,4 +11,4 @@ typedef struct FFHostResult
FFstrbuf sysVendor;
} FFHostResult;
const char* ffDetectHost(FFHostResult* result);
const char* ffDetectHost(FFHostResult* host);
+1 -1
View File
@@ -8,4 +8,4 @@ typedef struct FFMemoryResult
uint64_t bytesTotal;
} FFMemoryResult;
const char* ffDetectMemory(FFMemoryResult* result);
const char* ffDetectMemory(FFMemoryResult* ram);
+1 -1
View File
@@ -8,4 +8,4 @@ typedef struct FFSwapResult
uint64_t bytesTotal;
} FFSwapResult;
const char* ffDetectSwap(FFSwapResult* result);
const char* ffDetectSwap(FFSwapResult* swap);