Nathan Scott
8ec5d4a3a0
Further, minor cleanups to headers post-MakeHeaders
...
Remove leftover empty ifdef/endif pairs, whitespace.
The generated htop.h file was also unused - removed.
6 years ago
Zev Weiss
7b7822b896
Remove superfluous 'extern's from function declarations.
...
Applied via:
$ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} +
Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
6 years ago
Zev Weiss
a1a027b9bd
Axe automated header generation.
...
Reasoning:
- implementation was unsound -- broke down when I added a fairly
basic macro definition expanding to a struct initializer in a *.c
file.
- made it way too easy (e.g. via otherwise totally innocuous git
commands) to end up with timestamps such that it always ran
MakeHeader.py but never used its output, leading to overbuild noise
when running what should be a null 'make'.
- but mostly: it's just an awkward way of dealing with C code.
6 years ago
Nathan Scott
7ac1c709b7
Re-generate all headers with latest scripts/MakeHeader.py
...
Sync-up missing extern declarations for many functions.
6 years ago
Hisham Muhammad
466d4da0c6
refactor *Screen classes, add InfoScreen superclass
10 years ago
Hisham Muhammad
d0c72c3fb2
Move FunctionBar inside Panel
11 years ago
Hisham Muhammad
2ee1c41274
Add .h file ref previous commit
12 years ago
Hisham Muhammad
6d90e58c01
alignment improvements
12 years ago
Hisham Muhammad
2a73405cd0
search and filter for the strace and lsof screens!
14 years ago
Hisham Muhammad
84281bdc44
major header cleanup
14 years ago
Hisham Muhammad
81e44312b4
Use strdup explicitly
14 years ago
Hisham Muhammad
391eab2866
add missing update to header file
15 years ago
Hisham Muhammad
7dcd2beb90
extra checks for lsof failures
17 years ago
Hisham Muhammad
7ee2646808
oops, add missing files
17 years ago
Hisham Muhammad
da23c8c5a1
Clean up headers by using 'static' whenever possible.
...
Reduces resulting code size.
18 years ago
Hisham Muhammad
f6e0b7d0c0
Regenerated all headers.
20 years ago
Hisham Muhammad
c2cdcd0c1d
Rename ListBox to Panel, matching dit.
20 years ago
Hisham Muhammad
d6231bab89
Initial import.
20 years ago