mirror of https://github.com/xzeldon/htop.git
Object: always include stdbool.h
The function Object_isA() returning bool is nowadays unconditional
This commit is contained in:
parent
8ba4ef327e
commit
9adcd9051a
5
Object.h
5
Object.h
|
@ -11,14 +11,11 @@ in the source distribution for its full text.
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h" // IWYU pragma: keep
|
#include "XUtils.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#ifndef NDEBUG
|
|
||||||
#include <stdbool.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
struct Object_;
|
struct Object_;
|
||||||
typedef struct Object_ Object;
|
typedef struct Object_ Object;
|
||||||
|
|
Loading…
Reference in New Issue