mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
8 lines
150 B
C
8 lines
150 B
C
#include "common/kmod.h"
|
|
#include <sys/param.h>
|
|
#include <sys/module.h>
|
|
|
|
bool ffKmodLoaded(const char* modName) {
|
|
return modfind(modName) >= 0;
|
|
}
|