tree-wide: Introduce DECLARE_TRIVIAL_REF_UNREF_FUNC() and friends
This commit is contained in:
committed by
Yu Watanabe
parent
11adc8bad5
commit
daff8ea8bb
@@ -44,4 +44,4 @@ void dynamic_creds_close(DynamicCreds *creds);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(DynamicCreds*, dynamic_creds_unref);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(DynamicCreds*, dynamic_creds_destroy);
|
||||
|
||||
DynamicUser *dynamic_user_ref(DynamicUser *user);
|
||||
DECLARE_TRIVIAL_REF_FUNC(DynamicUser, dynamic_user);
|
||||
|
||||
+1
-1
@@ -569,7 +569,7 @@ void exec_status_reset(ExecStatus *s);
|
||||
|
||||
int exec_shared_runtime_acquire(Manager *m, const ExecContext *c, const char *id, bool create, ExecSharedRuntime **ret);
|
||||
ExecSharedRuntime *exec_shared_runtime_destroy(ExecSharedRuntime *r);
|
||||
ExecSharedRuntime *exec_shared_runtime_unref(ExecSharedRuntime *r);
|
||||
DECLARE_TRIVIAL_UNREF_FUNC(ExecSharedRuntime, exec_shared_runtime);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(ExecSharedRuntime*, exec_shared_runtime_unref);
|
||||
|
||||
int exec_shared_runtime_serialize(const Manager *m, FILE *f, FDSet *fds);
|
||||
|
||||
Reference in New Issue
Block a user