https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3f8f3a2bba25ec463e34d…
commit 3f8f3a2bba25ec463e34df88f36c1c6802057202
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Sep 12 20:01:27 2020 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Sep 13 22:50:09 2020 +0200
[CMD] Minor formatting only.
---
base/shell/cmd/cmd.h | 26 +++++++++++++-------------
base/shell/cmd/error.c | 26 +++++++++++++-------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/base/shell/cmd/cmd.h b/base/shell/cmd/cmd.h
index 205ff8ef7fe..2d285c10790 100644
--- a/base/shell/cmd/cmd.h
+++ b/base/shell/cmd/cmd.h
@@ -182,21 +182,21 @@ ErrorMessage(
IN LPTSTR szFormat OPTIONAL,
...);
-VOID error_no_pipe (VOID);
-VOID error_bad_command (LPTSTR);
-VOID error_invalid_drive (VOID);
-VOID error_req_param_missing (VOID);
-VOID error_sfile_not_found (LPTSTR);
-VOID error_file_not_found (VOID);
-VOID error_path_not_found (VOID);
-VOID error_too_many_parameters (LPTSTR);
+VOID error_no_pipe(VOID);
+VOID error_bad_command(LPTSTR);
+VOID error_invalid_drive(VOID);
+VOID error_req_param_missing(VOID);
+VOID error_sfile_not_found(LPTSTR);
+VOID error_file_not_found(VOID);
+VOID error_path_not_found(VOID);
+VOID error_too_many_parameters(LPTSTR);
VOID error_parameter_format(TCHAR);
-VOID error_invalid_switch (TCHAR);
-VOID error_invalid_parameter_format (LPTSTR);
-VOID error_out_of_memory (VOID);
-VOID error_syntax (LPTSTR);
+VOID error_invalid_switch(TCHAR);
+VOID error_invalid_parameter_format(LPTSTR);
+VOID error_out_of_memory(VOID);
+VOID error_syntax(LPTSTR);
-VOID msg_pause (VOID);
+VOID msg_pause(VOID);
/* Prototypes for FILECOMP.C */
#ifdef FEATURE_UNIX_FILENAME_COMPLETION
diff --git a/base/shell/cmd/error.c b/base/shell/cmd/error.c
index 6995f188d89..dd2ec7a6c3f 100644
--- a/base/shell/cmd/error.c
+++ b/base/shell/cmd/error.c
@@ -69,35 +69,35 @@ VOID error_parameter_format(TCHAR ch)
}
-VOID error_invalid_switch (TCHAR ch)
+VOID error_invalid_switch(TCHAR ch)
{
ConErrResPrintf(STRING_ERROR_INVALID_SWITCH, ch);
nErrorLevel = 1;
}
-VOID error_too_many_parameters (LPTSTR s)
+VOID error_too_many_parameters(LPTSTR s)
{
ConErrResPrintf(STRING_ERROR_TOO_MANY_PARAMETERS, s);
nErrorLevel = 1;
}
-VOID error_path_not_found (VOID)
+VOID error_path_not_found(VOID)
{
ConErrResPuts(STRING_ERROR_PATH_NOT_FOUND);
nErrorLevel = 1;
}
-VOID error_file_not_found (VOID)
+VOID error_file_not_found(VOID)
{
ConErrResPuts(STRING_ERROR_FILE_NOT_FOUND);
nErrorLevel = 1;
}
-VOID error_sfile_not_found (LPTSTR f)
+VOID error_sfile_not_found(LPTSTR f)
{
TCHAR szMsg[RC_STRING_MAX_SIZE];
@@ -107,49 +107,49 @@ VOID error_sfile_not_found (LPTSTR f)
}
-VOID error_req_param_missing (VOID)
+VOID error_req_param_missing(VOID)
{
ConErrResPuts(STRING_ERROR_REQ_PARAM_MISSING);
nErrorLevel = 1;
}
-VOID error_invalid_drive (VOID)
+VOID error_invalid_drive(VOID)
{
ConErrResPuts(STRING_ERROR_INVALID_DRIVE);
nErrorLevel = 1;
}
-VOID error_bad_command (LPTSTR s)
+VOID error_bad_command(LPTSTR s)
{
ConErrResPrintf(STRING_ERROR_BADCOMMAND, s);
nErrorLevel = 9009;
}
-VOID error_no_pipe (VOID)
+VOID error_no_pipe(VOID)
{
ConErrResPuts(STRING_ERROR_CANNOTPIPE);
nErrorLevel = 1;
}
-VOID error_out_of_memory (VOID)
+VOID error_out_of_memory(VOID)
{
ConErrResPuts(STRING_ERROR_OUT_OF_MEMORY);
nErrorLevel = 1;
}
-VOID error_invalid_parameter_format (LPTSTR s)
+VOID error_invalid_parameter_format(LPTSTR s)
{
ConErrResPrintf(STRING_ERROR_INVALID_PARAM_FORMAT, s);
nErrorLevel = 1;
}
-VOID error_syntax (LPTSTR s)
+VOID error_syntax(LPTSTR s)
{
TCHAR szMsg[RC_STRING_MAX_SIZE];
@@ -164,7 +164,7 @@ VOID error_syntax (LPTSTR s)
}
-VOID msg_pause (VOID)
+VOID msg_pause(VOID)
{
ConOutResPuts(STRING_ERROR_D_PAUSEMSG);
}