Clean up function move_to_abs_word() and rename to move_to_word()

Remove the output argument, as it's the same as the function return value anyway, so
the callers should just use that.
This commit is contained in:
Kevin Easton
2017-11-14 23:15:33 +11:00
parent 5e40c1ac01
commit fea88185f8
7 changed files with 22 additions and 20 deletions

View File

@@ -200,7 +200,7 @@ extern Function_ptr *global;
/* words.c reg.c */
#define strsearch (*(char *(*)(char *, char *, char *, int ))global[STRSEARCH])
#define move_to_abs_word (*(char *(*)(const char *, char **, int ))global[MOVE_TO_ABS_WORD])
#define move_to_word (*(char *(*)(const char *, int))global[MOVE_TO_WORD])
#define move_word_rel (*(char *(*)(const char *, char **, int ))global[MOVE_WORD_REL])
#define extract (*(char *(*)(char *, int , int ))global[EXTRACT])
#define extract2 (*(char *(*)(const char *, int , int ))global[EXTRACT2])