/branches/shell/uspace/app/bdsh/scli.h |
---|
13,7 → 13,7 |
uint64_t lasterr; |
} cliuser_t; |
extern int cli_set_prompt(cliuser_t *usr); |
extern unsigned int cli_set_prompt(cliuser_t *usr); |
extern int cli_init(cliuser_t *usr); |
extern void cli_finit(cliuser_t *usr); |
/branches/shell/uspace/app/bdsh/scli.c |
---|
56,7 → 56,7 |
/* (re)allocates memory to store the current working directory, gets |
* and updates the current working directory, formats the prompt string */ |
int cli_set_prompt(cliuser_t *usr) |
unsigned int cli_set_prompt(cliuser_t *usr) |
{ |
usr->prompt = (char *) realloc(usr->prompt, PATH_MAX); |
if (NULL == usr->prompt) { |