mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Global: uses typed enums
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
|
||||
#include "common/option.h"
|
||||
|
||||
typedef enum FF_A_PACKED FFDNSShowType {
|
||||
typedef enum FFDNSShowType: uint8_t {
|
||||
FF_DNS_TYPE_IPV4_BIT = 1,
|
||||
FF_DNS_TYPE_IPV6_BIT = 2,
|
||||
FF_DNS_TYPE_BOTH = FF_DNS_TYPE_IPV4_BIT | FF_DNS_TYPE_IPV6_BIT,
|
||||
FF_DNS_TYPE_FORCE_UNSIGNED = UINT8_MAX,
|
||||
} FFDNSShowType;
|
||||
|
||||
typedef struct FFDNSOptions {
|
||||
|
||||
Reference in New Issue
Block a user