mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:35:47 +00:00
Remove the "LPTSTR cmd" argument to internal commands; there's no need for a command to be told its own name. It was only used in two places:
- a hack in cmd_mkdir that was already obsolete a decade ago - to distinguish "echo" from "echo.", but that is the wrong way to implement this anyway. There's nothing particularly special about the period, "echo" is just one of those commands that is lenient about where its parameters begin, and when it echos a line, the first character (usually a space, but in the case of "echo." a period) is skipped. svn path=/trunk/; revision=35647
This commit is contained in:
parent
c9b3cf161b
commit
c49ed3a82c
46 changed files with 133 additions and 185 deletions
|
@ -60,7 +60,7 @@ PrintElapsedTime (DWORD time,INT format)
|
|||
}
|
||||
|
||||
|
||||
INT CommandTimer (LPTSTR cmd, LPTSTR param)
|
||||
INT CommandTimer (LPTSTR param)
|
||||
{
|
||||
// all timers are kept
|
||||
static DWORD clksT[10];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue