mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
Chore: run clang-format
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
This commit is contained in:
+2
-3
@@ -4,13 +4,12 @@
|
||||
#include "logo/logo.h"
|
||||
#include "modules/modules.h"
|
||||
|
||||
#define MODULE_OPTION(name) \
|
||||
#define MODULE_OPTION(name) \
|
||||
__attribute__((cleanup(ffDestroy##name##Options))) FF##name##Options options; \
|
||||
ffInit##name##Options(&options);
|
||||
|
||||
// A dirty replicate of neofetch; demonstration only.
|
||||
int main(void)
|
||||
{
|
||||
int main(void) {
|
||||
ffInitInstance(); // Init everything
|
||||
|
||||
// Modify global config here if needed
|
||||
|
||||
Reference in New Issue
Block a user