mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:22:18 +08:00
Fix some spacing problems
This commit is contained in:
@@ -142,7 +142,7 @@ EXEPATH_HANDLE exepath_init(void)
|
||||
return (EXEPATH_HANDLE)exepath;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: exepath_next
|
||||
*
|
||||
* Description:
|
||||
|
||||
@@ -129,13 +129,13 @@ symtab_findorderedbyname(FAR const struct symtab_s *symtab,
|
||||
}
|
||||
}
|
||||
|
||||
/* low == high... One final check. We might not have actually tested
|
||||
* the final symtab[] name.
|
||||
*
|
||||
* Example: Only the last pass through loop, suppose low = 1, high = 2,
|
||||
* mid = 1, and symtab[high].sym_name == name. Then we would get here with
|
||||
* low = 2, high = 2, but symtab[2].sym_name was never tested.
|
||||
*/
|
||||
/* low == high... One final check. We might not have actually tested
|
||||
* the final symtab[] name.
|
||||
*
|
||||
* Example: Only the last pass through loop, suppose low = 1, high = 2,
|
||||
* mid = 1, and symtab[high].sym_name == name. Then we would get here with
|
||||
* low = 2, high = 2, but symtab[2].sym_name was never tested.
|
||||
*/
|
||||
|
||||
return strcmp(name, symtab[low].sym_name) == 0 ? &symtab[low] : NULL;
|
||||
}
|
||||
|
||||
@@ -114,13 +114,13 @@ symtab_findorderedbyvalue(FAR const struct symtab_s *symtab,
|
||||
}
|
||||
}
|
||||
|
||||
/* low == high... One final check. We might not have actually tested
|
||||
* the final symtab[] name.
|
||||
*
|
||||
* Example: Only the last pass through loop, suppose low = 1, high = 2,
|
||||
* mid = 1, and symtab[high].sym_name == name. Then we would get here with
|
||||
* low = 2, high = 2, but symtab[2].sym_name was never tested.
|
||||
*/
|
||||
/* low == high... One final check. We might not have actually tested
|
||||
* the final symtab[] name.
|
||||
*
|
||||
* Example: Only the last pass through loop, suppose low = 1, high = 2,
|
||||
* mid = 1, and symtab[high].sym_name == name. Then we would get here with
|
||||
* low = 2, high = 2, but symtab[2].sym_name was never tested.
|
||||
*/
|
||||
|
||||
return value == symtab[low].sym_value ? &symtab[low] : NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user