mirror of https://github.com/xzeldon/htop.git
cleaned up includes with iwyu
This commit is contained in:
parent
d9c95369bc
commit
1b74dfe187
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
extern const PanelClass AffinityPanel_class;
|
extern const PanelClass AffinityPanel_class;
|
||||||
|
|
||||||
Panel* AffinityPanel_new(ProcessList* pl, const Affinity* affinity, int* width);
|
Panel* AffinityPanel_new(ProcessList* pl, const Affinity* affinity, int* width);
|
||||||
|
|
|
@ -15,7 +15,6 @@ in the source distribution for its full text.
|
||||||
#include "FunctionBar.h"
|
#include "FunctionBar.h"
|
||||||
#include "ListItem.h"
|
#include "ListItem.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct AvailableColumnsPanel_ {
|
typedef struct AvailableColumnsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
Panel* columns;
|
Panel* columns;
|
||||||
|
|
|
@ -13,6 +13,7 @@ in the source distribution for its full text.
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct AvailableMetersPanel_ {
|
typedef struct AvailableMetersPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
ScreenManager* scr;
|
ScreenManager* scr;
|
||||||
|
|
|
@ -11,6 +11,7 @@ This meter written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com).
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
typedef enum ACPresence_ {
|
typedef enum ACPresence_ {
|
||||||
AC_ABSENT,
|
AC_ABSENT,
|
||||||
AC_PRESENT,
|
AC_PRESENT,
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
CPU_METER_NICE = 0,
|
CPU_METER_NICE = 0,
|
||||||
CPU_METER_NORMAL = 1,
|
CPU_METER_NORMAL = 1,
|
||||||
|
|
|
@ -13,6 +13,7 @@ in the source distribution for its full text.
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct CategoriesPanel_ {
|
typedef struct CategoriesPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
ScreenManager* scr;
|
ScreenManager* scr;
|
||||||
|
|
|
@ -10,9 +10,11 @@ in the source distribution for its full text.
|
||||||
#include "ClockMeter.h"
|
#include "ClockMeter.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
static const int ClockMeter_attributes[] = {
|
static const int ClockMeter_attributes[] = {
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass ClockMeter_class;
|
extern const MeterClass ClockMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7,17 +7,15 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "ColorsPanel.h"
|
#include "ColorsPanel.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "FunctionBar.h"
|
#include "FunctionBar.h"
|
||||||
#include "Header.h"
|
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "OptionItem.h"
|
#include "OptionItem.h"
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "RichString.h"
|
|
||||||
#include "Vector.h"
|
|
||||||
|
|
||||||
|
|
||||||
// TO ADD A NEW SCHEME:
|
// TO ADD A NEW SCHEME:
|
||||||
|
|
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct ColorsPanel_ {
|
typedef struct ColorsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ in the source distribution for its full text.
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct ColumnsPanel_ {
|
typedef struct ColumnsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
#include "CommandScreen.h"
|
#include "CommandScreen.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "XUtils.h"
|
|
||||||
|
|
||||||
|
|
||||||
static void CommandScreen_scan(InfoScreen* this) {
|
static void CommandScreen_scan(InfoScreen* this) {
|
||||||
|
|
|
@ -10,9 +10,11 @@ in the source distribution for its full text.
|
||||||
#include "DateMeter.h"
|
#include "DateMeter.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
static const int DateMeter_attributes[] = {
|
static const int DateMeter_attributes[] = {
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass DateMeter_class;
|
extern const MeterClass DateMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -10,9 +10,11 @@ in the source distribution for its full text.
|
||||||
#include "DateTimeMeter.h"
|
#include "DateTimeMeter.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
static const int DateTimeMeter_attributes[] = {
|
static const int DateTimeMeter_attributes[] = {
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass DateTimeMeter_class;
|
extern const MeterClass DateTimeMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -9,12 +9,12 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct DiskIOData_ {
|
typedef struct DiskIOData_ {
|
||||||
uint64_t totalBytesRead;
|
uint64_t totalBytesRead;
|
||||||
uint64_t totalBytesWritten;
|
uint64_t totalBytesWritten;
|
||||||
|
|
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct DisplayOptionsPanel_ {
|
typedef struct DisplayOptionsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct EnvScreen_ {
|
typedef struct EnvScreen_ {
|
||||||
InfoScreen super;
|
InfoScreen super;
|
||||||
} EnvScreen;
|
} EnvScreen;
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
||||||
typedef struct FunctionBar_ {
|
typedef struct FunctionBar_ {
|
||||||
int size;
|
int size;
|
||||||
char** functions;
|
char** functions;
|
||||||
|
|
|
@ -11,7 +11,6 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,10 @@ in the source distribution for its full text.
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "HostnameMeter.h"
|
#include "HostnameMeter.h"
|
||||||
#include "Platform.h"
|
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
#include "Platform.h"
|
||||||
|
|
||||||
|
|
||||||
static const int HostnameMeter_attributes[] = {
|
static const int HostnameMeter_attributes[] = {
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass HostnameMeter_class;
|
extern const MeterClass HostnameMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
1
IncSet.h
1
IncSet.h
|
@ -14,6 +14,7 @@ in the source distribution for its full text.
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Vector.h"
|
#include "Vector.h"
|
||||||
|
|
||||||
|
|
||||||
#define INCMODE_MAX 40
|
#define INCMODE_MAX 40
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
|
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct ListItem_ {
|
typedef struct ListItem_ {
|
||||||
Object super;
|
Object super;
|
||||||
char* value;
|
char* value;
|
||||||
|
|
|
@ -10,6 +10,7 @@ in the source distribution for its full text.
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass LoadAverageMeter_class;
|
extern const MeterClass LoadAverageMeter_class;
|
||||||
|
|
||||||
extern const MeterClass LoadMeter_class;
|
extern const MeterClass LoadMeter_class;
|
||||||
|
|
|
@ -8,6 +8,7 @@ in the source distribution for its full text.
|
||||||
#include "MemoryMeter.h"
|
#include "MemoryMeter.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass MemoryMeter_class;
|
extern const MeterClass MemoryMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
1
Meter.c
1
Meter.c
|
@ -18,7 +18,6 @@ in the source distribution for its full text.
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
1
Meter.h
1
Meter.h
|
@ -10,6 +10,7 @@ in the source distribution for its full text.
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
#include "NetworkIOMeter.h"
|
#include "NetworkIOMeter.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stdint.h>
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
#include "Process.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct NetworkIOData_ {
|
typedef struct NetworkIOData_ {
|
||||||
uint64_t bytesReceived;
|
uint64_t bytesReceived;
|
||||||
uint64_t packetsReceived;
|
uint64_t packetsReceived;
|
||||||
|
|
|
@ -13,6 +13,7 @@ in the source distribution for its full text.
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct OpenFilesScreen_ {
|
typedef struct OpenFilesScreen_ {
|
||||||
InfoScreen super;
|
InfoScreen super;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
|
|
|
@ -17,6 +17,7 @@ in the source distribution for its full text.
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
@ -31,8 +32,6 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#if defined(MAJOR_IN_MKDEV)
|
#if defined(MAJOR_IN_MKDEV)
|
||||||
#include <sys/mkdev.h>
|
#include <sys/mkdev.h>
|
||||||
#elif defined(MAJOR_IN_SYSMACROS)
|
|
||||||
#include <sys/sysmacros.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ in the source distribution for its full text.
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Hashtable.h"
|
#include "Hashtable.h"
|
||||||
|
|
|
@ -10,6 +10,8 @@ in the source distribution for its full text.
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "Hashtable.h"
|
#include "Hashtable.h"
|
||||||
|
|
|
@ -8,6 +8,7 @@ in the source distribution for its full text.
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct SignalItem_ {
|
typedef struct SignalItem_ {
|
||||||
const char* name;
|
const char* name;
|
||||||
int number;
|
int number;
|
||||||
|
|
|
@ -5,8 +5,12 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "SwapMeter.h"
|
#include "SwapMeter.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass SwapMeter_class;
|
extern const MeterClass SwapMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -4,11 +4,16 @@ htop - SysArchMeter.c
|
||||||
Released under the GNU GPLv2, see the COPYING file
|
Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "Platform.h"
|
|
||||||
#include "SysArchMeter.h"
|
#include "SysArchMeter.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "CRT.h"
|
||||||
|
#include "Object.h"
|
||||||
|
#include "Platform.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass TasksMeter_class;
|
extern const MeterClass TasksMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,7 +23,6 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "FunctionBar.h"
|
#include "FunctionBar.h"
|
||||||
#include "IncSet.h"
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass UptimeMeter_class;
|
extern const MeterClass UptimeMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Hashtable.h"
|
#include "Hashtable.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct UsersTable_ {
|
typedef struct UsersTable_ {
|
||||||
Hashtable* users;
|
Hashtable* users;
|
||||||
} UsersTable;
|
} UsersTable;
|
||||||
|
|
|
@ -9,7 +9,6 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
|
|
||||||
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
|
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
|
||||||
|
|
|
@ -6,15 +6,18 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "Macros.h"
|
||||||
|
#include "XUtils.h"
|
||||||
#include "generic/uname.h"
|
#include "generic/uname.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#ifdef HAVE_SYS_UTSNAME_H
|
#ifdef HAVE_SYS_UTSNAME_H
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "XUtils.h"
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef OSRELEASEFILE
|
#ifndef OSRELEASEFILE
|
||||||
#define OSRELEASEFILE "/etc/os-release"
|
#define OSRELEASEFILE "/etc/os-release"
|
||||||
|
|
|
@ -7,15 +7,19 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "HugePageMeter.h"
|
#include "HugePageMeter.h"
|
||||||
|
|
||||||
#include "LinuxProcessList.h"
|
#include <assert.h>
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
#include "LinuxProcessList.h"
|
||||||
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
|
|
||||||
|
|
||||||
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };
|
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };
|
||||||
|
|
||||||
static const int HugePageMeter_attributes[] = {
|
static const int HugePageMeter_attributes[] = {
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass HugePageMeter_class;
|
extern const MeterClass HugePageMeter_class;
|
||||||
|
|
||||||
#endif /* HEADER_HugePageMeter */
|
#endif /* HEADER_HugePageMeter */
|
||||||
|
|
|
@ -8,6 +8,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "LinuxProcess.h"
|
#include "LinuxProcess.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@ in the source distribution for its full text.
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <strings.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -12,7 +12,6 @@ in the source distribution for its full text.
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -63,6 +62,7 @@ in the source distribution for its full text.
|
||||||
#include "zfs/ZfsCompressedArcMeter.h"
|
#include "zfs/ZfsCompressedArcMeter.h"
|
||||||
|
|
||||||
#ifdef HAVE_LIBCAP
|
#ifdef HAVE_LIBCAP
|
||||||
|
#include <errno.h>
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,9 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "Action.h"
|
#include "Action.h"
|
||||||
|
|
|
@ -12,6 +12,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass PressureStallCPUSomeMeter_class;
|
extern const MeterClass PressureStallCPUSomeMeter_class;
|
||||||
|
|
||||||
extern const MeterClass PressureStallIOSomeMeter_class;
|
extern const MeterClass PressureStallIOSomeMeter_class;
|
||||||
|
|
|
@ -10,12 +10,12 @@ in the source distribution for its full text.
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/statfs.h>
|
#include <sys/statfs.h>
|
||||||
#include <sys/statvfs.h>
|
#include <sys/statvfs.h>
|
||||||
|
|
||||||
#include "Macros.h"
|
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass SELinuxMeter_class;
|
extern const MeterClass SELinuxMeter_class;
|
||||||
|
|
||||||
#endif /* HEADER_SELinuxMeter */
|
#endif /* HEADER_SELinuxMeter */
|
||||||
|
|
|
@ -19,6 +19,7 @@ in the source distribution for its full text.
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
|
#include "Settings.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
#if defined(BUILD_STATIC) && defined(HAVE_LIBSYSTEMD)
|
#if defined(BUILD_STATIC) && defined(HAVE_LIBSYSTEMD)
|
||||||
|
|
|
@ -10,6 +10,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass SystemdMeter_class;
|
extern const MeterClass SystemdMeter_class;
|
||||||
|
|
||||||
#endif /* HEADER_SystemdMeter */
|
#endif /* HEADER_SystemdMeter */
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "ZramMeter.h"
|
#include "ZramMeter.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
extern const MeterClass ZramMeter_class;
|
extern const MeterClass ZramMeter_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,6 +24,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
|
||||||
|
|
||||||
#define MAXCMDLINE 255
|
#define MAXCMDLINE 255
|
||||||
|
|
||||||
static int pageSize;
|
static int pageSize;
|
||||||
|
|
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct UnsupportedProcess_ {
|
typedef struct UnsupportedProcess_ {
|
||||||
Process super;
|
Process super;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ in the source distribution for its full text.
|
||||||
#include "ZfsArcMeter.h"
|
#include "ZfsArcMeter.h"
|
||||||
#include "ZfsArcStats.h"
|
#include "ZfsArcStats.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
void ZfsArcMeter_readStats(Meter* this, const ZfsArcStats* stats);
|
void ZfsArcMeter_readStats(Meter* this, const ZfsArcStats* stats);
|
||||||
|
|
||||||
extern const MeterClass ZfsArcMeter_class;
|
extern const MeterClass ZfsArcMeter_class;
|
||||||
|
|
|
@ -7,13 +7,14 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "ZfsCompressedArcMeter.h"
|
#include "ZfsCompressedArcMeter.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
|
||||||
#include "zfs/ZfsArcStats.h"
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
||||||
void ZfsCompressedArcMeter_readStats(Meter* this, const ZfsArcStats* stats);
|
void ZfsCompressedArcMeter_readStats(Meter* this, const ZfsArcStats* stats);
|
||||||
|
|
||||||
extern const MeterClass ZfsCompressedArcMeter_class;
|
extern const MeterClass ZfsCompressedArcMeter_class;
|
||||||
|
|
Loading…
Reference in New Issue