Benny Baumann
|
0720b100fb
Introduce ATTR_RETNONNULL to indicate functions that will never return NULL
|
6 months ago |
Explorer09
|
7bf8f02de2
Clarify isNonnegative() behavior in comments
|
1 year ago |
Benny Baumann
|
e56089e1fa
Update includes based on IWYU
|
1 year ago |
Explorer09
|
f541f70d0e
Add configure check for nonnull attribute
|
1 year ago |
Nathan Scott
|
43cb4a57d6
Merge branch 'style-header-consistency' of https://github.com/BenBE/htop into BenBE-style-header-consistency
|
1 year ago |
Explorer09
|
b416433fbe
Replace isnan() with better comparisons (isgreater(), etc.)
|
1 year ago |
Benny Baumann
|
8e4ce18ba8
Add missing copyright/file headers
|
1 year ago |
Christian Göttsche
|
8387df1551
Annotate functions with access attribute
|
1 year ago |
Benny Baumann
|
44d1200ca4
Check for alloc_size attribute in configure.ac
|
3 years ago |
fraggerfox
|
3770769ed1
Replaces WRAP_SUBTRACT with saturatingSub inline function to reduce code duplication.
|
3 years ago |
fraggerfox
|
2f5b3ef733
Refactor saturatingSub() to be part of Macros.h
|
3 years ago |
Christian Göttsche
|
9a8221568a
Rework TTY column
|
3 years ago |
Benny Baumann
|
57e0ce7b4f
Use `#if defined()` syntax when `#elif defined()` is present
|
3 years ago |
Christian Göttsche
|
e6d536dd3f
Add compiler hints on memory allocating utility functions
|
4 years ago |
Christian Göttsche
|
397b5c4bd0
Introduce spaceship comparison for Processes
|
4 years ago |
Christian Göttsche
|
f8208f2173
Drop tabs in source indentions
|
4 years ago |
Christian Göttsche
|
0db398d4c3
Allow low and high value of CLAMP to be equal
|
4 years ago |
Benny Baumann
|
0f5262917f
Make all required includes explicit
|
4 years ago |
Christian Göttsche
|
db159e7580
Enclose CLAMP macro arguments in parentheses
|
4 years ago |
Christian Göttsche
|
db472075a4
Enable -Wcast-qual compiler warning
|
4 years ago |
Christian Göttsche
|
49bb1b57f8
Assert that low value is lower than the high value in CLAMP
|
4 years ago |
Christian Göttsche
|
42946ec113
Introduce ARRAYSIZE
|
4 years ago |
Christian Göttsche
|
7107d1db0b
Refactor __attribute__ usage
|
4 years ago |
Nathan Scott
|
c5808c56db
Consolidate repeated macro definitions into one header
|
4 years ago |