Renaming K_set_prio to _k_task_priority_set

Updating micro 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 "Checking C, CPP, H, HPP, and s files..."
find . -type f \( -iname \*.[ch] -o -iname \*.[ch]pp -o -iname \*.s \) \
       -not \( -path host/src/genIdt -prune \) \
       -not \( -path host/src/gen_tables -prune \) \
       -print | xargs sed -i "s/"${1}"/"${2}"/g"


echo "Checking KCONF, LST, and PY files..."
find . -type f \( -iname \*.lst -o -iname \*.kconf -o -iname \*.py \) \
       -not \( -path host/src/genIdt -prune \) \
       -not \( -path host/src/gen_tables -prune \) \
       -print | xargs sed -i "s/"${1}"/"${2}"/g"

Change-Id: I725126b52c68bbcbc1fe832fa892b67b6a60146a
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
Dan Kalowsky 2015-04-28 11:35:51 -07:00 committed by Anas Nashif
commit 3a9ff35beb
4 changed files with 5 additions and 5 deletions

View file

@ -366,12 +366,12 @@ void _task_group_ioctl(ktask_group_t group, /* task group */
/*******************************************************************************
*
* K_set_prio - handle task set priority request
* _k_task_priority_set - handle task set priority request
*
* RETURNS: N/A
*/
void K_set_prio(struct k_args *A)
void _k_task_priority_set(struct k_args *A)
{
ktask_t Tid = A->Args.g1.task;
struct k_proc *X = _k_task_list + OBJ_INDEX(Tid);