1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-08 08:43:52 -08:00

(DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch

removed the wrong version of the DEFUN macro; fixed it.
This commit is contained in:
Kim F. Storm 2002-03-21 12:17:51 +00:00
parent f6df485fd7
commit a0f8590d9d

View file

@ -1551,12 +1551,12 @@ typedef unsigned char UCHAR;
#if (!defined (__STDC__) && !defined (PROTOTYPES)) \
|| defined (USE_NONANSI_DEFUN)
#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, args) \
#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, doc) \
Lisp_Object fnname (); \
struct Lisp_Subr sname = \
{ PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \
fnname, minargs, maxargs, lname, prompt, 0}; \
Lisp_Object fnname args
Lisp_Object fnname
#else