chiark / gitweb /
Add __attribute__((const, pure, format)) in various places
[elogind.git] / src / core / cgroup.h
index 2ff39e5767e81151ade13ece2c1d5ee2e81b1f3d..6555d89e37fe64430059598f2273f10aa577f8e2 100644 (file)
@@ -76,7 +76,7 @@ void cgroup_bonding_trim_list(CGroupBonding *first, bool delete_root);
 int cgroup_bonding_is_empty(CGroupBonding *b);
 int cgroup_bonding_is_empty_list(CGroupBonding *first);
 
-CGroupBonding *cgroup_bonding_find_list(CGroupBonding *first, const char *controller);
+CGroupBonding *cgroup_bonding_find_list(CGroupBonding *first, const char *controller) _pure_;
 
 char *cgroup_bonding_to_string(CGroupBonding *b);