Changeset 92fd52d7 in mainline for uspace/app/bdsh/cmds/mod_cmds.c
- Timestamp:
- 2009-04-09T21:16:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7afb4a5
- Parents:
- a2c58f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/mod_cmds.c
ra2c58f6 r92fd52d7 65 65 66 66 for (mod = modules; mod->name != NULL; mod++, i++) { 67 if (!str cmp(mod->name, command))67 if (!str_cmp(mod->name, command)) 68 68 return i; 69 69 } … … 82 82 83 83 for(i=0; mod_aliases[i] != NULL; i+=2) { 84 if (!str cmp(mod_aliases[i], command))84 if (!str_cmp(mod_aliases[i], command)) 85 85 return 1; 86 86 } … … 98 98 99 99 for(i=0; mod_aliases[i] != NULL; i++) { 100 if (!str cmp(mod_aliases[i], command))100 if (!str_cmp(mod_aliases[i], command)) 101 101 return (char *)mod_aliases[++i]; 102 102 i++;
Note:
See TracChangeset
for help on using the changeset viewer.