mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Global: unifies GCC attributes usage
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
#include "modules/modules.h"
|
||||
|
||||
#define MODULE_OPTION(name) \
|
||||
__attribute__((cleanup(ffDestroy##name##Options))) FF##name##Options options; \
|
||||
FF_A_CLEANUP(ffDestroy##name##Options) FF##name##Options options; \
|
||||
ffInit##name##Options(&options);
|
||||
|
||||
// A dirty replicate of neofetch; demonstration only.
|
||||
|
||||
Reference in New Issue
Block a user