Renaming _LifoGet to _lifo_get
Updating nano kernel functions to follow a consistent naming convention. Part of that process is the removal of camelCase naming conventions for the preferred_underscore_method. Change accomplished with the following script: #!/bin/bash echo "Searching for ${1} to replace with ${2}" find . -type f \( -iname \*.c -o -iname \*.h -o -iname \*.s -o -iname \*.kconf \) \ -not \( -path host/src/genIdt -prune \) \ \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
7c558249ae
commit
338f3e2244
1 changed files with 5 additions and 5 deletions
|
@ -169,13 +169,13 @@ void nano_task_lifo_put(
|
||||||
irq_unlock_inline(imask);
|
irq_unlock_inline(imask);
|
||||||
}
|
}
|
||||||
|
|
||||||
FUNC_ALIAS(_LifoGet, nano_isr_lifo_get, void *);
|
FUNC_ALIAS(_lifo_get, nano_isr_lifo_get, void *);
|
||||||
FUNC_ALIAS(_LifoGet, nano_fiber_lifo_get, void *);
|
FUNC_ALIAS(_lifo_get, nano_fiber_lifo_get, void *);
|
||||||
FUNC_ALIAS(_LifoGet, nano_task_lifo_get, void *);
|
FUNC_ALIAS(_lifo_get, nano_task_lifo_get, void *);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* _LifoGet - remove the first element from a linked list lifo
|
* _lifo_get - remove the first element from a linked list lifo
|
||||||
*
|
*
|
||||||
* Remove the first element from the specified nanokernel linked list lifo;
|
* Remove the first element from the specified nanokernel linked list lifo;
|
||||||
* it may be called from a fiber, task, or ISR context.
|
* it may be called from a fiber, task, or ISR context.
|
||||||
|
@ -193,7 +193,7 @@ FUNC_ALIAS(_LifoGet, nano_task_lifo_get, void *);
|
||||||
* differences in the future without introducing a source code migration issue.
|
* differences in the future without introducing a source code migration issue.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *_LifoGet(struct nano_lifo *chan /* channel on which to receive */
|
void *_lifo_get(struct nano_lifo *chan /* channel on which to receive */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
void *data;
|
void *data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue