cmd: Constify WCMD_pushd parameter.

This commit is contained in:
Frédéric Delanoy 2011-10-21 00:56:32 +02:00 committed by Alexandre Julliard
parent 7bfe648666
commit 42f126e80d
2 changed files with 3 additions and 2 deletions

View file

@ -1418,7 +1418,8 @@ void WCMD_goto (CMD_LIST **cmdList) {
* Push a directory onto the stack
*/
void WCMD_pushd (WCHAR *command) {
void WCMD_pushd (const WCHAR *command)
{
struct env_stack *curdir;
WCHAR *thisdir;
static const WCHAR parmD[] = {'/','D','\0'};

View file

@ -79,7 +79,7 @@ void WCMD_output_asis_stderr (const WCHAR *message);
void WCMD_pause (void);
void WCMD_popd (void);
void WCMD_print_error (void);
void WCMD_pushd (WCHAR *);
void WCMD_pushd (const WCHAR *command);
void WCMD_remove_dir (WCHAR *command);
void WCMD_rename (void);
void WCMD_run_program (WCHAR *command, int called);