mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Global: unifies GCC attributes usage
This commit is contained in:
@@ -86,12 +86,12 @@ static void resetConsole(void) {
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
BOOL WINAPI consoleHandler(FF_MAYBE_UNUSED DWORD signal) {
|
||||
BOOL WINAPI consoleHandler(FF_A_UNUSED DWORD signal) {
|
||||
resetConsole();
|
||||
exit(0);
|
||||
}
|
||||
#else
|
||||
static void exitSignalHandler(FF_MAYBE_UNUSED int signal) {
|
||||
static void exitSignalHandler(FF_A_UNUSED int signal) {
|
||||
resetConsole();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user