From 327593e5cd5d48a6ff38d2877d7faaf53a6a8892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 6 Apr 2024 20:40:33 +0200 Subject: Align parameter names in declarations with definitions --- DynamicScreen.h | 2 +- Machine.h | 2 +- Process.h | 4 ++-- linux/GPU.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DynamicScreen.h b/DynamicScreen.h index fb08ebc9..00aa5e17 100644 --- a/DynamicScreen.h +++ b/DynamicScreen.h @@ -25,7 +25,7 @@ typedef struct DynamicScreen_ { Hashtable* DynamicScreens_new(void); -void DynamicScreens_delete(Hashtable* dynamics); +void DynamicScreens_delete(Hashtable* screens); void DynamicScreen_done(DynamicScreen* this); diff --git a/Machine.h b/Machine.h index f7f82afa..247f7336 100644 --- a/Machine.h +++ b/Machine.h @@ -88,7 +88,7 @@ bool Machine_isCPUonline(const Machine* this, unsigned int id); void Machine_populateTablesFromSettings(Machine* this, Settings* settings, Table* processTable); -void Machine_setTablesPanel(Machine* host, Panel* panel); +void Machine_setTablesPanel(Machine* this, Panel* panel); void Machine_scan(Machine* this); diff --git a/Process.h b/Process.h index 848894ca..8c7ae76e 100644 --- a/Process.h +++ b/Process.h @@ -226,9 +226,9 @@ typedef struct ProcessFieldData_ { typedef int32_t ProcessField; /* see ReservedField list in RowField.h */ // Implemented in platform-specific code: -void Process_writeField(const Process* row, RichString* str, ProcessField field); +void Process_writeField(const Process* this, RichString* str, ProcessField field); int Process_compare(const void* v1, const void* v2); -int Process_compareByParent(const Row* r1, const Row* v2); +int Process_compareByParent(const Row* r1, const Row* r2); void Process_delete(Object* cast); extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD]; #define Process_pidDigits Row_pidDigits diff --git a/linux/GPU.h b/linux/GPU.h index b502d147..15fb5c75 100644 --- a/linux/GPU.h +++ b/linux/GPU.h @@ -12,6 +12,6 @@ in the source distribution for its full text. #include "linux/LinuxProcessTable.h" -void GPU_readProcessData(LinuxProcessTable* lpl, LinuxProcess* lp, openat_arg_t procFd); +void GPU_readProcessData(LinuxProcessTable* lpt, LinuxProcess* lp, openat_arg_t procFd); #endif /* HEADER_GPU */ -- cgit v1.2.3