]> git.eshelyaron.com Git - emacs.git/commitdiff
(DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
authorKim F. Storm <storm@cua.dk>
Thu, 21 Mar 2002 12:17:51 +0000 (12:17 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 21 Mar 2002 12:17:51 +0000 (12:17 +0000)
removed the wrong version of the DEFUN macro; fixed it.

src/lisp.h

index e73af7c19d599f3132e709a7114cac5779c9ac8b..70e5b0350206ec655b61247997845219e99e45bd 100644 (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