mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
ClangTidy: avoid different parameter names for same function
This commit is contained in:
@@ -9,4 +9,4 @@ typedef struct FFBoardResult
|
||||
FFstrbuf version;
|
||||
} FFBoardResult;
|
||||
|
||||
const char* ffDetectBoard(FFBoardResult* result);
|
||||
const char* ffDetectBoard(FFBoardResult* board);
|
||||
|
||||
@@ -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 */);
|
||||
|
||||
@@ -11,4 +11,4 @@ typedef struct FFHostResult
|
||||
FFstrbuf sysVendor;
|
||||
} FFHostResult;
|
||||
|
||||
const char* ffDetectHost(FFHostResult* result);
|
||||
const char* ffDetectHost(FFHostResult* host);
|
||||
|
||||
@@ -8,4 +8,4 @@ typedef struct FFMemoryResult
|
||||
uint64_t bytesTotal;
|
||||
} FFMemoryResult;
|
||||
|
||||
const char* ffDetectMemory(FFMemoryResult* result);
|
||||
const char* ffDetectMemory(FFMemoryResult* ram);
|
||||
|
||||
@@ -8,4 +8,4 @@ typedef struct FFSwapResult
|
||||
uint64_t bytesTotal;
|
||||
} FFSwapResult;
|
||||
|
||||
const char* ffDetectSwap(FFSwapResult* result);
|
||||
const char* ffDetectSwap(FFSwapResult* swap);
|
||||
|
||||
Reference in New Issue
Block a user