From: Kim F. Storm Date: Thu, 21 Mar 2002 12:17:51 +0000 (+0000) Subject: (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch X-Git-Tag: ttn-vms-21-2-B4~16046 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0f8590d9d24aec2e17f1aba47dfdceb72f4ec51;p=emacs.git (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch removed the wrong version of the DEFUN macro; fixed it. --- diff --git a/src/lisp.h b/src/lisp.h index e73af7c19d5..70e5b035020 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -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