Remove obsolete Lint directives
Most of the directives were wrong anyway. Apparently traditional lint hasn’t been used to check Emacs for years. * src/callint.c (Finteractive): * src/cm.c (evalcost): * src/emacs.c (main): * src/eval.c (call1, call2, call3, call4, call5, call6, call7, call8): * src/fns.c (concat2, concat3, nconc2): * src/term.c (calculate_ins_del_char_costs): Omit ARGSUSED comments. * src/eval.c (call1): Omit VARARGS comment.
This commit is contained in:
parent
57ac6523af
commit
2c2f0eb9fc
6 changed files with 0 additions and 16 deletions
|
@ -35,7 +35,6 @@ static Lisp_Object point_marker;
|
|||
/* String for the prompt text used in Fcall_interactively. */
|
||||
static Lisp_Object callint_message;
|
||||
|
||||
/* ARGSUSED */
|
||||
DEFUN ("interactive", Finteractive, Sinteractive, 0, UNEVALLED, 0,
|
||||
doc: /* Specify a way of parsing arguments for interactive use of a function.
|
||||
For example, write
|
||||
|
|
1
src/cm.c
1
src/cm.c
|
@ -30,7 +30,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
|
||||
int cost; /* sums up costs */
|
||||
|
||||
/* ARGSUSED */
|
||||
int
|
||||
evalcost (int c)
|
||||
{
|
||||
|
|
|
@ -923,7 +923,6 @@ load_pdump (int argc, char **argv)
|
|||
}
|
||||
#endif /* HAVE_PDUMPER */
|
||||
|
||||
/* ARGSUSED */
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
|
|
|
@ -1890,7 +1890,6 @@ verror (const char *m, va_list ap)
|
|||
|
||||
/* Dump an error message; called like printf. */
|
||||
|
||||
/* VARARGS 1 */
|
||||
void
|
||||
error (const char *m, ...)
|
||||
{
|
||||
|
@ -2649,7 +2648,6 @@ call0 (Lisp_Object fn)
|
|||
}
|
||||
|
||||
/* Call function fn with 1 argument arg1. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call1 (Lisp_Object fn, Lisp_Object arg1)
|
||||
{
|
||||
|
@ -2657,7 +2655,6 @@ call1 (Lisp_Object fn, Lisp_Object arg1)
|
|||
}
|
||||
|
||||
/* Call function fn with 2 arguments arg1, arg2. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call2 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2)
|
||||
{
|
||||
|
@ -2665,7 +2662,6 @@ call2 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2)
|
|||
}
|
||||
|
||||
/* Call function fn with 3 arguments arg1, arg2, arg3. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call3 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3)
|
||||
{
|
||||
|
@ -2673,7 +2669,6 @@ call3 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3)
|
|||
}
|
||||
|
||||
/* Call function fn with 4 arguments arg1, arg2, arg3, arg4. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call4 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
||||
Lisp_Object arg4)
|
||||
|
@ -2682,7 +2677,6 @@ call4 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
|||
}
|
||||
|
||||
/* Call function fn with 5 arguments arg1, arg2, arg3, arg4, arg5. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call5 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
||||
Lisp_Object arg4, Lisp_Object arg5)
|
||||
|
@ -2691,7 +2685,6 @@ call5 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
|||
}
|
||||
|
||||
/* Call function fn with 6 arguments arg1, arg2, arg3, arg4, arg5, arg6. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call6 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
||||
Lisp_Object arg4, Lisp_Object arg5, Lisp_Object arg6)
|
||||
|
@ -2700,7 +2693,6 @@ call6 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
|||
}
|
||||
|
||||
/* Call function fn with 7 arguments arg1, arg2, arg3, arg4, arg5, arg6, arg7. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call7 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
||||
Lisp_Object arg4, Lisp_Object arg5, Lisp_Object arg6, Lisp_Object arg7)
|
||||
|
@ -2710,7 +2702,6 @@ call7 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
|||
|
||||
/* Call function fn with 8 arguments arg1, arg2, arg3, arg4, arg5,
|
||||
arg6, arg7, arg8. */
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
call8 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
|
||||
Lisp_Object arg4, Lisp_Object arg5, Lisp_Object arg6, Lisp_Object arg7,
|
||||
|
|
|
@ -532,14 +532,12 @@ Do NOT use this function to compare file names for equality. */)
|
|||
static Lisp_Object concat (ptrdiff_t nargs, Lisp_Object *args,
|
||||
enum Lisp_Type target_type, bool last_special);
|
||||
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
concat2 (Lisp_Object s1, Lisp_Object s2)
|
||||
{
|
||||
return concat (2, ((Lisp_Object []) {s1, s2}), Lisp_String, 0);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
concat3 (Lisp_Object s1, Lisp_Object s2, Lisp_Object s3)
|
||||
{
|
||||
|
@ -2577,7 +2575,6 @@ This makes STRING unibyte and may change its length. */)
|
|||
return Qnil;
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
Lisp_Object
|
||||
nconc2 (Lisp_Object s1, Lisp_Object s2)
|
||||
{
|
||||
|
|
|
@ -1084,7 +1084,6 @@ int *char_ins_del_vector;
|
|||
|
||||
#define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_COLS ((f))])
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
calculate_ins_del_char_costs (struct frame *f)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue