Rename __defaultEsf to _default_esf

Updating global variable's name to follow a consistent naming convention.
Explicitly moved from __ to _ by direction of Ben Walsh

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" -o -name "*.arch" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: Idd6f7c3c2fdd818f0a794985f3689705cac3c0a2
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:12:56 -05:00 committed by Anas Nashif
commit 2ac4a04b92
10 changed files with 15 additions and 15 deletions

View file

@ -58,7 +58,7 @@ This module provides the _NanoFatalErrorHandler() routine for ARM Cortex-M.
* Define a default ESF for use with _NanoFatalErrorHandler() in the event
* the caller does not have a NANO_ESF to pass
*/
const NANO_ESF __defaultEsf = {0xdeaddead, /* a1 */
const NANO_ESF _default_esf = {0xdeaddead, /* a1 */
0xdeaddead, /* a2 */
0xdeaddead, /* a3 */
0xdeaddead, /* a4 */
@ -79,7 +79,7 @@ const NANO_ESF __defaultEsf = {0xdeaddead, /* a1 */
*
* The caller is expected to always provide a usable ESF. In the event that the
* fatal error does not have a hardware generated ESF, the caller should either
* create its own or use a pointer to the global default ESF <__defaultEsf>.
* create its own or use a pointer to the global default ESF <_default_esf>.
*
* RETURNS: This function does not return.
*