kernel: objects: rename z_dynamic_object_create -> k_object_create_dynamic
Do not use z_ for internal APIs and rename z_dynamic_object_create. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ae265ea96e
commit
d2c025dd78
2 changed files with 3 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ struct z_object *z_dynamic_object_aligned_create(size_t align, size_t size);
|
|||
* @return A pointer to the associated z_object that is installed in the
|
||||
* kernel object tables
|
||||
*/
|
||||
static inline struct z_object *z_dynamic_object_create(size_t size)
|
||||
static inline struct z_object *k_object_create_dynamic(size_t size)
|
||||
{
|
||||
return z_dynamic_object_aligned_create(0, size);
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@ static inline struct z_object *z_dynamic_object_aligned_create(size_t align,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static inline struct z_object *z_dynamic_object_create(size_t size)
|
||||
static inline struct z_object *k_object_create_dynamic(size_t size)
|
||||
{
|
||||
ARG_UNUSED(size);
|
||||
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ static struct spair *spair_new(void)
|
|||
}
|
||||
|
||||
#elif CONFIG_USERSPACE
|
||||
struct z_object *zo = z_dynamic_object_create(sizeof(*spair));
|
||||
struct z_object *zo = k_object_create_dynamic(sizeof(*spair));
|
||||
|
||||
if (zo == NULL) {
|
||||
spair = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue