@@ -973,8 +973,7 @@ eval_clear()
973973 * Return the name of the executed function.
974974 */
975975 char_u *
976- func_name(cookie)
977- void *cookie;
976+ func_name(void *cookie)
978977{
979978 return ((funccall_T *)cookie)->func->uf_name;
980979}
@@ -993,8 +992,7 @@ func_breakpoint(cookie)
993992 * Return the address holding the debug tick for a funccall cookie.
994993 */
995994 int *
996- func_dbg_tick(cookie)
997- void *cookie;
995+ func_dbg_tick(void *cookie)
998996{
999997 return &((funccall_T *)cookie)->dbg_tick;
1000998}
@@ -1003,8 +1001,7 @@ func_dbg_tick(cookie)
10031001 * Return the nesting level for a funccall cookie.
10041002 */
10051003 int
1006- func_level(cookie)
1007- void *cookie;
1004+ func_level(void *cookie)
10081005{
10091006 return ((funccall_T *)cookie)->level;
10101007}
@@ -1031,9 +1028,7 @@ current_func_returned()
10311028 * not already exist.
10321029 */
10331030 void
1034- set_internal_string_var(name, value)
1035- char_u *name;
1036- char_u *value;
1031+ set_internal_string_var(char_u *name, char_u *value)
10371032{
10381033 char_u *val;
10391034 typval_T *tvp;
@@ -1057,12 +1052,11 @@ static char_u *redir_varname = NULL;
10571052
10581053/*
10591054 * Start recording command output to a variable
1055+ * When "append" is TRUE append to an existing variable.
10601056 * Returns OK if successfully completed the setup. FAIL otherwise.
10611057 */
10621058 int
1063- var_redir_start(name, append)
1064- char_u *name;
1065- int append; /* append to an existing variable */
1059+ var_redir_start(char_u *name, int append)
10661060{
10671061 int save_emsg;
10681062 int err;
@@ -1139,9 +1133,7 @@ var_redir_start(name, append)
11391133 * :redir END
11401134 */
11411135 void
1142- var_redir_str(value, value_len)
1143- char_u *value;
1144- int value_len;
1136+ var_redir_str(char_u *value, int value_len)
11451137{
11461138 int len;
11471139
@@ -1201,11 +1193,11 @@ var_redir_stop()
12011193
12021194# if defined(FEAT_MBYTE) || defined(PROTO)
12031195 int
1204- eval_charconvert(enc_from, enc_to, fname_from, fname_to)
1205- char_u *enc_from;
1206- char_u *enc_to;
1207- char_u *fname_from;
1208- char_u *fname_to;
1196+ eval_charconvert(
1197+ char_u *enc_from,
1198+ char_u *enc_to,
1199+ char_u *fname_from,
1200+ char_u *fname_to)
12091201{
12101202 int err = FALSE;
12111203
0 commit comments