projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003-11-26 Mikael Hallendal <micke@imendio.com>
[platform/upstream/dbus.git]
/
bus
/
policy.c
diff --git
a/bus/policy.c
b/bus/policy.c
index
63131ac
..
5cd23ca
100644
(file)
--- a/
bus/policy.c
+++ b/
bus/policy.c
@@
-68,12
+68,14
@@
bus_policy_rule_new (BusPolicyRuleType type,
return rule;
}
return rule;
}
-void
+BusPolicyRule *
bus_policy_rule_ref (BusPolicyRule *rule)
{
_dbus_assert (rule->refcount > 0);
rule->refcount += 1;
bus_policy_rule_ref (BusPolicyRule *rule)
{
_dbus_assert (rule->refcount > 0);
rule->refcount += 1;
+
+ return rule;
}
void
}
void
@@
-178,12
+180,14
@@
bus_policy_new (void)
return NULL;
}
return NULL;
}
-void
+BusPolicy *
bus_policy_ref (BusPolicy *policy)
{
_dbus_assert (policy->refcount > 0);
policy->refcount += 1;
bus_policy_ref (BusPolicy *policy)
{
_dbus_assert (policy->refcount > 0);
policy->refcount += 1;
+
+ return policy;
}
void
}
void
@@
-628,12
+632,14
@@
bus_client_policy_new (void)
return policy;
}
return policy;
}
-void
+BusClientPolicy *
bus_client_policy_ref (BusClientPolicy *policy)
{
_dbus_assert (policy->refcount > 0);
policy->refcount += 1;
bus_client_policy_ref (BusClientPolicy *policy)
{
_dbus_assert (policy->refcount > 0);
policy->refcount += 1;
+
+ return policy;
}
static void
}
static void