mirror of https://github.com/xzeldon/htop.git
Sort headers/includes
This commit is contained in:
parent
dac1e05a2c
commit
e1c96879f4
|
@ -6,6 +6,8 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include "Affinity.h"
|
#include "Affinity.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -7,10 +7,10 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Settings.h"
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "ScreenManager.h"
|
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
|
#include "ScreenManager.h"
|
||||||
|
#include "Settings.h"
|
||||||
|
|
||||||
typedef struct AvailableMetersPanel_ {
|
typedef struct AvailableMetersPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
|
@ -8,9 +8,9 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Settings.h"
|
|
||||||
#include "ScreenManager.h"
|
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
|
#include "ScreenManager.h"
|
||||||
|
#include "Settings.h"
|
||||||
|
|
||||||
typedef struct CategoriesPanel_ {
|
typedef struct CategoriesPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
|
@ -8,8 +8,8 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Settings.h"
|
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
|
#include "Settings.h"
|
||||||
|
|
||||||
typedef struct ColorsPanel_ {
|
typedef struct ColorsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
|
@ -8,8 +8,8 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Settings.h"
|
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
|
#include "Settings.h"
|
||||||
|
|
||||||
typedef struct DisplayOptionsPanel_ {
|
typedef struct DisplayOptionsPanel_ {
|
||||||
Panel super;
|
Panel super;
|
||||||
|
|
3
IncSet.h
3
IncSet.h
|
@ -7,9 +7,10 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "FunctionBar.h"
|
#include "FunctionBar.h"
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
#define INCMODE_MAX 40
|
#define INCMODE_MAX 40
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef HEADER_InfoScreen
|
#ifndef HEADER_InfoScreen
|
||||||
#define HEADER_InfoScreen
|
#define HEADER_InfoScreen
|
||||||
|
|
||||||
#include "Process.h"
|
|
||||||
#include "Panel.h"
|
|
||||||
#include "FunctionBar.h"
|
#include "FunctionBar.h"
|
||||||
#include "IncSet.h"
|
#include "IncSet.h"
|
||||||
|
#include "Panel.h"
|
||||||
|
#include "Process.h"
|
||||||
|
|
||||||
typedef struct InfoScreen_ InfoScreen;
|
typedef struct InfoScreen_ InfoScreen;
|
||||||
|
|
||||||
|
|
3
Meter.h
3
Meter.h
|
@ -7,9 +7,10 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ListItem.h"
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#include "ListItem.h"
|
||||||
|
|
||||||
#define METER_BUFFER_LEN 256
|
#define METER_BUFFER_LEN 256
|
||||||
|
|
||||||
typedef struct Meter_ Meter;
|
typedef struct Meter_ Meter;
|
||||||
|
|
|
@ -8,8 +8,8 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Settings.h"
|
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
|
#include "Settings.h"
|
||||||
|
|
||||||
typedef struct MetersPanel_ MetersPanel;
|
typedef struct MetersPanel_ MetersPanel;
|
||||||
|
|
||||||
|
|
2
Panel.h
2
Panel.h
|
@ -7,9 +7,9 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "FunctionBar.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Vector.h"
|
#include "Vector.h"
|
||||||
#include "FunctionBar.h"
|
|
||||||
|
|
||||||
typedef struct Panel_ Panel;
|
typedef struct Panel_ Panel;
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,10 @@ in the source distribution for its full text.
|
||||||
#endif
|
#endif
|
||||||
#define PAGE_SIZE_KB ( PAGE_SIZE / ONE_K )
|
#define PAGE_SIZE_KB ( PAGE_SIZE / ONE_K )
|
||||||
|
|
||||||
#include "Object.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include "Object.h"
|
||||||
|
|
||||||
#define PROCESS_FLAG_IO 0x0001
|
#define PROCESS_FLAG_IO 0x0001
|
||||||
|
|
||||||
typedef enum ProcessFields {
|
typedef enum ProcessFields {
|
||||||
|
|
|
@ -7,12 +7,12 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Vector.h"
|
|
||||||
#include "Hashtable.h"
|
#include "Hashtable.h"
|
||||||
#include "UsersTable.h"
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
#include "UsersTable.h"
|
||||||
|
#include "Vector.h"
|
||||||
|
|
||||||
#ifdef HAVE_LIBHWLOC
|
#ifdef HAVE_LIBHWLOC
|
||||||
#include <hwloc.h>
|
#include <hwloc.h>
|
||||||
|
|
|
@ -7,10 +7,10 @@ Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Vector.h"
|
|
||||||
#include "Header.h"
|
#include "Header.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
|
#include "Vector.h"
|
||||||
|
|
||||||
typedef enum Orientation_ {
|
typedef enum Orientation_ {
|
||||||
VERTICAL,
|
VERTICAL,
|
||||||
|
|
|
@ -9,9 +9,10 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#define DEFAULT_DELAY 15
|
#define DEFAULT_DELAY 15
|
||||||
|
|
||||||
#include "Process.h"
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#include "Process.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int len;
|
int len;
|
||||||
char** names;
|
char** names;
|
||||||
|
|
Loading…
Reference in New Issue