Renaming _ContextExitRtn to _context_exit

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:
Dan Kalowsky 2015-04-16 12:25:11 -07:00 committed by Anas Nashif
commit 522b9ad432
5 changed files with 7 additions and 7 deletions

View file

@ -196,7 +196,7 @@ void abort_task(struct k_proc *X)
/* Do normal context exit cleanup */
_ContextExitRtn((tCCS *)X->workspace);
_context_exit((tCCS *)X->workspace);
/* Set TF_TERM and TF_STOP state flags */