Mercurial > vim
diff src/ex_cmds2.c @ 1876:932ff0c0f57b v7.2.173
updated for version 7.2-173
author | vimboss |
---|---|
date | Thu, 14 May 2009 20:20:33 +0000 |
parents | f13849167330 |
children | c8b87fa14d27 |
line wrap: on
line diff
--- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -680,10 +680,9 @@ ex_breakdel(eap) /* * ":breaklist". */ -/*ARGSUSED*/ void ex_breaklist(eap) - exarg_T *eap; + exarg_T *eap UNUSED; { struct debuggy *bp; int i; @@ -1342,14 +1341,13 @@ autowrite_all() /* * return TRUE if buffer was changed and cannot be abandoned. */ -/*ARGSUSED*/ int check_changed(buf, checkaw, mult_win, forceit, allbuf) buf_T *buf; int checkaw; /* do autowrite if buffer was changed */ int mult_win; /* check also when several wins for the buf */ int forceit; - int allbuf; /* may write all buffers */ + int allbuf UNUSED; /* may write all buffers */ { if ( !forceit && bufIsChanged(buf) @@ -1759,12 +1757,11 @@ set_arglist(str) * * Return FAIL for failure, OK otherwise. */ -/*ARGSUSED*/ static int do_arglist(str, what, after) char_u *str; - int what; - int after; /* 0 means before first one */ + int what UNUSED; + int after UNUSED; /* 0 means before first one */ { garray_T new_ga; int exp_count; @@ -2549,11 +2546,10 @@ ex_runtime(eap) static void source_callback __ARGS((char_u *fname, void *cookie)); -/*ARGSUSED*/ static void source_callback(fname, cookie) char_u *fname; - void *cookie; + void *cookie UNUSED; { (void)do_source(fname, FALSE, DOSO_NONE); } @@ -2680,10 +2676,9 @@ do_in_runtimepath(name, all, callback, c /* * ":options" */ -/*ARGSUSED*/ void ex_options(eap) - exarg_T *eap; + exarg_T *eap UNUSED; { cmd_source((char_u *)SYS_OPTWIN_FILE, NULL); } @@ -3190,10 +3185,9 @@ theend: /* * ":scriptnames" */ -/*ARGSUSED*/ void ex_scriptnames(eap) - exarg_T *eap; + exarg_T *eap UNUSED; { int i; @@ -3317,12 +3311,11 @@ fgets_cr(s, n, stream) * Return a pointer to the line in allocated memory. * Return NULL for end-of-file or some error. */ -/* ARGSUSED */ char_u * getsourceline(c, cookie, indent) - int c; /* not used */ + int c UNUSED; void *cookie; - int indent; /* not used */ + int indent UNUSED; { struct source_cookie *sp = (struct source_cookie *)cookie; char_u *line; @@ -3649,10 +3642,9 @@ script_line_end() * ":scriptencoding": Set encoding conversion for a sourced script. * Without the multi-byte feature it's simply ignored. */ -/*ARGSUSED*/ void ex_scriptencoding(eap) - exarg_T *eap; + exarg_T *eap UNUSED; { #ifdef FEAT_MBYTE struct source_cookie *sp; @@ -4101,10 +4093,9 @@ ex_language(eap) * Function given to ExpandGeneric() to obtain the possible arguments of the * ":language" command. */ -/*ARGSUSED*/ char_u * get_lang_arg(xp, idx) - expand_T *xp; + expand_T *xp UNUSED; int idx; { if (idx == 0)