comparison src/lisp.h @ 88625:00997a99fa17

(DEFUN) [!PROTOTYPES]: Remove spurious `args'.
author Dave Love <fx@gnu.org>
date Fri, 24 May 2002 15:29:53 +0000
parents 5e3e1d9d514f
children c9ceae177843
comparison
equal deleted inserted replaced
88624:22b091c1363a 88625:00997a99fa17
1561 #define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, args) \ 1561 #define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, args) \
1562 Lisp_Object fnname (); \ 1562 Lisp_Object fnname (); \
1563 struct Lisp_Subr sname = \ 1563 struct Lisp_Subr sname = \
1564 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ 1564 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \
1565 fnname, minargs, maxargs, lname, prompt, 0}; \ 1565 fnname, minargs, maxargs, lname, prompt, 0}; \
1566 Lisp_Object fnname args 1566 Lisp_Object fnname
1567 1567
1568 #else 1568 #else
1569 1569
1570 /* This version of DEFUN declares a function prototype with the right 1570 /* This version of DEFUN declares a function prototype with the right
1571 arguments, so we can catch errors with maxargs at compile-time. */ 1571 arguments, so we can catch errors with maxargs at compile-time. */