Commit a5415bd8 authored by Josh Kunz's avatar Josh Kunz

Make cap_type_opts argument to register_type const

parent 19861374
......@@ -97,7 +97,7 @@ void cap_fini(void);
* -EADDRINUSE. If there are no types remaining or you exceed
* CAP_TYPE_MAX, this returns -ENOMEM .
*/
cap_type_t cap_register_type(cap_type_t type, struct cap_type_ops *ops);
cap_type_t cap_register_type(cap_type_t type, const struct cap_type_ops *ops);
/**
* Revoke all derived capabilities.
*
......
......@@ -54,7 +54,7 @@ void cap_fini(void)
cap_cache_destroy(cdt_cache.cdt_root_cache);
}
cap_type_t cap_register_type(cap_type_t type, struct cap_type_ops *ops)
cap_type_t cap_register_type(cap_type_t type, const struct cap_type_ops *ops)
{
int i, ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment