aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant compiler flagThomas Voss 2022-11-171-2/+1
| | | | | | The -fomit-frame-pointer optimization is already enabled at -O1 and we are compiling with -O3, so this is not something we need to manually specify.
* Don't check for O_PATH being definedThomas Voss 2022-11-173-7/+2
| | | | | | | | O_PATH has been in Linux since version 2.6.39, which was a very long time ago. Additionally, this library only works on Linux anyways since the interface to backlight information is Linux-specific. Therefore we have no real reason to bother with handling the case where it's not defined.
* Use LIBLUX_ as a macro prefixThomas Voss 2022-11-173-12/+12
|
* Formatting fixThomas Voss 2022-11-171-6/+6
|
* Use link time optimizationsThomas Voss 2022-11-141-1/+1
|
* Actually cleanup after ourselvesv1.0.0Thomas Voss 2022-10-131-2/+7
|
* Move from make(1) to tup(1)Thomas Voss 2022-10-131-0/+12
|
* Move functions to their own filesThomas Voss 2022-10-1314-0/+503
Also we move the source code to a src/ directory. We also move from using `struct luxdisp` to `lux_t` to signify that we don’t want the user to be messing with the struct members.