diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-11-28 15:16:40 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-12-26 15:14:19 +0100 |
commit | 9ee8a7ca64799c01f5aed9c421178e65bcfb3204 (patch) | |
tree | 93303ade9a63d49f7ae90227476ae7c2f25f313f | |
parent | e56089e1fa880064999ed6881e93f500445eacfb (diff) |
Force to keep explicit forward declarations
-rw-r--r-- | Process.h | 4 | ||||
-rw-r--r-- | Row.h | 6 | ||||
-rw-r--r-- | Settings.h | 4 | ||||
-rw-r--r-- | Table.h | 6 |
4 files changed, 10 insertions, 10 deletions
@@ -44,8 +44,8 @@ typedef enum ProcessState_ { SLEEPING } ProcessState; -struct Machine_; -struct Settings_; +struct Machine_; // IWYU pragma: keep +struct Settings_; // IWYU pragma: keep /* Holds information about regions of the cmdline that should be * highlighted (e.g. program basename, delimiter, comm). */ @@ -26,9 +26,9 @@ extern uint8_t Row_fieldWidths[LAST_RESERVED_FIELD]; extern int Row_pidDigits; extern int Row_uidDigits; -struct Machine_; -struct Settings_; -struct Table_; +struct Machine_; // IWYU pragma: keep +struct Settings_; // IWYU pragma: keep +struct Table_; // IWYU pragma: keep /* Class representing entities (such as processes) that can be * represented in a tabular form in the lower half of the htop @@ -23,8 +23,8 @@ in the source distribution for its full text. #define CONFIG_READER_MIN_VERSION 3 -struct DynamicScreen_; -struct Table_; +struct DynamicScreen_; // IWYU pragma: keep +struct Table_; // IWYU pragma: keep typedef struct { const char* name; @@ -19,9 +19,9 @@ in the source distribution for its full text. #include "Vector.h" -struct Machine_; -struct Panel_; -struct Row_; +struct Machine_; // IWYU pragma: keep +struct Panel_; // IWYU pragma: keep +struct Row_; // IWYU pragma: keep typedef struct Table_ { /* Super object for emulated OOP */ |