mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-04 12:44:07 +08:00
Use chef_allow_gsr for os
This commit is contained in:
@@ -8,6 +8,7 @@ void
|
||||
os_freebsd_prelude ()
|
||||
{
|
||||
use_this(os_freebsd);
|
||||
chef_allow_s(os_freebsd);
|
||||
|
||||
chef_set_created_on (this, "2023-09-03");
|
||||
chef_set_last_updated (this, "2025-08-10");
|
||||
@@ -18,8 +19,6 @@ os_freebsd_prelude ()
|
||||
chef_set_sous_chefs (this, 0);
|
||||
chef_set_contributors (this, 0);
|
||||
|
||||
chef_allow_set();
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
chef_forbid_user_define(this);
|
||||
|
||||
@@ -8,6 +8,7 @@ void
|
||||
os_netbsd_prelude ()
|
||||
{
|
||||
use_this(os_netbsd);
|
||||
chef_allow_gs(os_netbsd);
|
||||
|
||||
chef_set_created_on (this, "2023-09-05");
|
||||
chef_set_last_updated (this, "2025-08-10");
|
||||
@@ -18,8 +19,6 @@ os_netbsd_prelude ()
|
||||
chef_set_sous_chefs (this, 0);
|
||||
chef_set_contributors (this, 0);
|
||||
|
||||
chef_allow_get();
|
||||
chef_allow_set();
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
|
||||
@@ -8,6 +8,7 @@ void
|
||||
os_openbsd_prelude ()
|
||||
{
|
||||
use_this(os_openbsd);
|
||||
chef_allow_gs(os_openbsd);
|
||||
|
||||
chef_set_created_on (this, "2023-09-03");
|
||||
chef_set_last_updated (this, "2025-08-10");
|
||||
@@ -18,9 +19,6 @@ os_openbsd_prelude ()
|
||||
chef_set_sous_chefs (this, 0);
|
||||
chef_set_contributors (this, 0);
|
||||
|
||||
chef_allow_get();
|
||||
chef_allow_set();
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
chef_forbid_user_define(this);
|
||||
|
||||
Reference in New Issue
Block a user