diff options
author | Benny Baumann <BenBE@geshi.org> | 2022-10-22 19:19:39 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2022-10-24 23:13:22 +0200 |
commit | 40104588f38250afde9f71b6204d789039bbfe3e (patch) | |
tree | 745e532580371db2ca85b4ae57b10f1ad3396531 /freebsd | |
parent | 4ad530d1c00f649dcd02b818a3ccc7ded0aaf12d (diff) |
Reformat code base
This includes:
- Wrap function implementations
- Pointer alignment for function signatures
- Pointer alignment for variable declarations
- Whitespace after keywords
- Whitespace after comma
- Whitespace around initializers
- Whitespace around operators
- Code indentation
- Line break for single line statements
- Misleading alignment
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/Platform.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/freebsd/Platform.h b/freebsd/Platform.h index c0292d9a..555ab902 100644 --- a/freebsd/Platform.h +++ b/freebsd/Platform.h @@ -93,7 +93,9 @@ static inline void Platform_gettime_monotonic(uint64_t* msec) { Generic_gettime_monotonic(msec); } -static inline Hashtable* Platform_dynamicMeters(void) { return NULL; } +static inline Hashtable* Platform_dynamicMeters(void) { + return NULL; +} static inline void Platform_dynamicMetersDone(ATTR_UNUSED Hashtable* table) { } @@ -103,12 +105,18 @@ static inline void Platform_dynamicMeterUpdateValues(ATTR_UNUSED Meter* meter) { static inline void Platform_dynamicMeterDisplay(ATTR_UNUSED const Meter* meter, ATTR_UNUSED RichString* out) { } -static inline Hashtable* Platform_dynamicColumns(void) { return NULL; } +static inline Hashtable* Platform_dynamicColumns(void) { + return NULL; +} -static inline const char* Platform_dynamicColumnInit(ATTR_UNUSED unsigned int key) { return NULL; } +static inline const char* Platform_dynamicColumnInit(ATTR_UNUSED unsigned int key) { + return NULL; +} static inline void Platform_dynamicColumnsDone(ATTR_UNUSED Hashtable* table) { } -static inline bool Platform_dynamicColumnWriteField(ATTR_UNUSED const Process* proc, ATTR_UNUSED RichString* str, ATTR_UNUSED unsigned int key) { return false; } +static inline bool Platform_dynamicColumnWriteField(ATTR_UNUSED const Process* proc, ATTR_UNUSED RichString* str, ATTR_UNUSED unsigned int key) { + return false; +} #endif |