Rename K_TaskCount to _k_task_count

Updating global variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: Iafa862861cc6b56212c036acc0bb182e2c620e7b
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-04-27 10:28:23 -05:00 committed by Anas Nashif
commit 3473bb7609
5 changed files with 6 additions and 6 deletions

View file

@ -318,7 +318,7 @@ void K_groupop(struct k_args *A)
K_DebugHalt = 0;
#endif
for (i = 0, X = _k_task_list; i < K_TaskCount; i++, X++) {
for (i = 0, X = _k_task_list; i < _k_task_count; i++, X++) {
if (X->Group & grp) {
switch (opt) {
case GROUP_TASK_START: