mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
Global: unifies GCC attributes usage
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "common/option.h"
|
||||
#include "common/percent.h"
|
||||
|
||||
typedef enum __attribute__((__packed__)) FFDiskVolumeType {
|
||||
typedef enum FF_A_PACKED FFDiskVolumeType {
|
||||
FF_DISK_VOLUME_TYPE_NONE = 0,
|
||||
FF_DISK_VOLUME_TYPE_REGULAR_BIT = 1 << 0,
|
||||
FF_DISK_VOLUME_TYPE_HIDDEN_BIT = 1 << 1,
|
||||
@@ -14,7 +14,7 @@ typedef enum __attribute__((__packed__)) FFDiskVolumeType {
|
||||
FF_DISK_VOLUME_TYPE_FORCE_UNSIGNED = UINT8_MAX,
|
||||
} FFDiskVolumeType;
|
||||
|
||||
typedef enum __attribute__((__packed__)) FFDiskCalcType {
|
||||
typedef enum FF_A_PACKED FFDiskCalcType {
|
||||
FF_DISK_CALC_TYPE_FREE,
|
||||
FF_DISK_CALC_TYPE_AVAILABLE,
|
||||
} FFDiskCalcType;
|
||||
|
||||
Reference in New Issue
Block a user