Some changes for better formatting / following standards.

svn path=/trunk/; revision=18949
This commit is contained in:
Brandon Turner 2005-11-02 14:15:42 +00:00
parent 486e2e5a02
commit 0f821d720d

View file

@ -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;