Changeset 1433ecda in mainline for uspace/app/bdsh/cmds/mod_cmds.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/mod_cmds.c
r47b2d7e3 r1433ecda 80 80 return -1; 81 81 82 for (i=0; mod_aliases[i] != NULL; i+=2) {82 for (i = 0; mod_aliases[i] != NULL; i += 2) { 83 83 if (!str_cmp(mod_aliases[i], command)) 84 84 return 1; … … 96 96 return (char *)NULL; 97 97 98 for (i=0; mod_aliases[i] != NULL; i+=2) {98 for (i = 0; mod_aliases[i] != NULL; i += 2) { 99 99 if (!str_cmp(mod_aliases[i], command)) 100 return (char *)mod_aliases[i +1];100 return (char *)mod_aliases[i + 1]; 101 101 } 102 102
Note:
See TracChangeset
for help on using the changeset viewer.