Rename struct

This commit is contained in:
Aoran Zeng
2024-11-22 07:07:29 +08:00
parent 743380290e
commit 92d5407269
30 changed files with 85 additions and 85 deletions

View File

@@ -61,10 +61,10 @@ os_armbian_setsrc (char *option)
}
FeatInfo
Feature_t
os_armbian_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;

View File

@@ -109,10 +109,10 @@ os_debian_setsrc (char *option)
}
FeatInfo
Feature_t
os_debian_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;

View File

@@ -129,10 +129,10 @@ os_ubuntu_resetsrc (char *option)
}
FeatInfo
Feature_t
os_ubuntu_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = true;
f.can_reset = true;

View File

@@ -85,10 +85,10 @@ os_fedora_resetsrc (char *option)
}
FeatInfo
Feature_t
os_fedora_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = false;
f.can_reset = true;

View File

@@ -129,10 +129,10 @@ os_archlinuxcn_setsrc (char *option)
#undef OS_Pacman_MirrorList
FeatInfo
Feature_t
os_arch_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;
@@ -146,10 +146,10 @@ os_arch_feat (char *option)
}
FeatInfo
Feature_t
os_archlinuxcn_feat (char *option)
{
FeatInfo f = {0};
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;

View File

@@ -23,4 +23,4 @@ os_manjaro_setsrc (char *option)
chsrc_conclude (NULL, SetsrcType_Auto);
}
TargetInfo os_manjaro_target = {NULL, os_manjaro_setsrc, NULL, NULL, 0};
Target_t os_manjaro_target = {NULL, os_manjaro_setsrc, NULL, NULL, 0};