NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line

This commit is contained in:
Gregory Nutt
2014-01-10 15:23:26 -06:00
parent a6bb107d10
commit 25fd6d1904
4 changed files with 53 additions and 9 deletions
+4 -4
View File
@@ -45,11 +45,11 @@
* Global Functions
****************************************************************************/
char *strstr(const char *str, const char *substr)
FAR char *strstr(FAR const char *str, FAR const char *substr)
{
const char *candidate; /* Candidate in str with matching start character */
char ch; /* First character of the substring */
int len; /* The length of the substring */
FAR const char *candidate; /* Candidate in str with matching start character */
char ch; /* First character of the substring */
int len; /* The length of the substring */
/* Special case the empty substring */