Changes in uspace/app/bdsh/compl.c [b7fd2a0:23a0368] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
rb7fd2a0 r23a0368 40 40 #include "tok.h" 41 41 42 static errno_t compl_init(wchar_t *text, size_t pos, size_t *cstart, void **state);43 static errno_t compl_get_next(void *state, char **compl);42 static int compl_init(wchar_t *text, size_t pos, size_t *cstart, void **state); 43 static int compl_get_next(void *state, char **compl); 44 44 static void compl_fini(void *state); 45 45 … … 87 87 * Set up iterators in completion object, based on current token. 88 88 */ 89 static errno_t compl_init(wchar_t *text, size_t pos, size_t *cstart, void **state)89 static int compl_init(wchar_t *text, size_t pos, size_t *cstart, void **state) 90 90 { 91 91 compl_t *cs = NULL; … … 93 93 char *prefix = NULL; 94 94 char *dirname = NULL; 95 errno_t retval;95 int retval; 96 96 97 97 token_t *tokens = calloc(WORD_MAX, sizeof(token_t)); … … 288 288 289 289 /** Get next match. */ 290 static errno_t compl_get_next(void *state, char **compl)290 static int compl_get_next(void *state, char **compl) 291 291 { 292 292 compl_t *cs = (compl_t *) state;
Note:
See TracChangeset
for help on using the changeset viewer.