mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Some changes for better formatting / following standards.
svn path=/trunk/; revision=18949
This commit is contained in:
parent
486e2e5a02
commit
0f821d720d
1 changed files with 25 additions and 21 deletions
|
@ -216,7 +216,8 @@ static ULARGE_INTEGER recurse_bytes;
|
||||||
* displays help screen for dir
|
* displays help screen for dir
|
||||||
* Rob Lake
|
* Rob Lake
|
||||||
*/
|
*/
|
||||||
static VOID DirHelp(VOID)
|
static VOID
|
||||||
|
DirHelp(VOID)
|
||||||
{
|
{
|
||||||
ConOutResPaging(TRUE, STRING_DIR_HELP1);
|
ConOutResPaging(TRUE, STRING_DIR_HELP1);
|
||||||
}
|
}
|
||||||
|
@ -228,7 +229,8 @@ static VOID DirHelp(VOID)
|
||||||
*
|
*
|
||||||
* Parse the parameters and switches of the command line and exports them
|
* Parse the parameters and switches of the command line and exports them
|
||||||
*/
|
*/
|
||||||
static BOOL DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & switches */
|
static BOOL
|
||||||
|
DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & switches */
|
||||||
LPTSTR** params, /* [OUT] The parameters after parsing */
|
LPTSTR** params, /* [OUT] The parameters after parsing */
|
||||||
LPINT entries, /* [OUT] The number of parameters after parsing */
|
LPINT entries, /* [OUT] The number of parameters after parsing */
|
||||||
LPDIRSWITCHFLAGS lpFlags) /* [IN/OUT] The flags after calculating switches */
|
LPDIRSWITCHFLAGS lpFlags) /* [IN/OUT] The flags after calculating switches */
|
||||||
|
@ -1220,7 +1222,8 @@ TCHAR* getExt(const TCHAR* file)
|
||||||
*
|
*
|
||||||
* Get the name of the file without extension
|
* Get the name of the file without extension
|
||||||
*/
|
*/
|
||||||
static LPTSTR getName(const TCHAR* file, TCHAR * dest)
|
static LPTSTR
|
||||||
|
getName(const TCHAR* file, TCHAR * dest)
|
||||||
{
|
{
|
||||||
int iLen;
|
int iLen;
|
||||||
LPTSTR end;
|
LPTSTR end;
|
||||||
|
@ -1974,7 +1977,8 @@ ULARGE_INTEGER u64Temp; /* A temporary counter */
|
||||||
*
|
*
|
||||||
* internal dir command
|
* internal dir command
|
||||||
*/
|
*/
|
||||||
INT CommandDir(LPTSTR first, LPTSTR rest)
|
INT
|
||||||
|
CommandDir(LPTSTR first, LPTSTR rest)
|
||||||
{
|
{
|
||||||
TCHAR dircmd[256]; /* A variable to store the DIRCMD enviroment variable */
|
TCHAR dircmd[256]; /* A variable to store the DIRCMD enviroment variable */
|
||||||
TCHAR cDrive;
|
TCHAR cDrive;
|
||||||
|
|
Loading…
Reference in a new issue