mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
Global: unifies GCC attributes usage
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
#include "common/option.h"
|
||||
#include "common/percent.h"
|
||||
|
||||
typedef enum __attribute__((__packed__)) FFGPUType {
|
||||
typedef enum FF_A_PACKED FFGPUType {
|
||||
FF_GPU_TYPE_NONE, // Indicates no specific GPU type. Useful as a hide filter only.
|
||||
FF_GPU_TYPE_UNKNOWN, // Indicates an unknown or unrecognized GPU type.
|
||||
FF_GPU_TYPE_INTEGRATED,
|
||||
FF_GPU_TYPE_DISCRETE,
|
||||
} FFGPUType;
|
||||
|
||||
typedef enum __attribute__((__packed__)) FFGPUDetectionMethod {
|
||||
typedef enum FF_A_PACKED FFGPUDetectionMethod {
|
||||
FF_GPU_DETECTION_METHOD_AUTO,
|
||||
FF_GPU_DETECTION_METHOD_PCI,
|
||||
FF_GPU_DETECTION_METHOD_VULKAN,
|
||||
|
||||
Reference in New Issue
Block a user