mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 10:02:49 +01:00
Global: replaces __attribute__ to C23 [[attribute]]
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
#include "modules/modules.h"
|
||||
|
||||
#define MODULE_OPTION(name) \
|
||||
FF_A_CLEANUP(ffDestroy##name##Options) FF##name##Options options; \
|
||||
[[gnu::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