aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2002-03-21 12:17:51 +0000
committerKim F. Storm2002-03-21 12:17:51 +0000
commita0f8590d9d24aec2e17f1aba47dfdceb72f4ec51 (patch)
tree5f2d9809b9a9b0097b8e777e55a7dcdbd3f09503 /src
parentf6df485fd77a79b73dea20183d24663ac9213561 (diff)
downloademacs-a0f8590d9d24aec2e17f1aba47dfdceb72f4ec51.tar.gz
emacs-a0f8590d9d24aec2e17f1aba47dfdceb72f4ec51.zip
(DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
removed the wrong version of the DEFUN macro; fixed it.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h4
1 files changed, 2 insertions, 2 deletions
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;
1551#if (!defined (__STDC__) && !defined (PROTOTYPES)) \ 1551#if (!defined (__STDC__) && !defined (PROTOTYPES)) \
1552 || defined (USE_NONANSI_DEFUN) 1552 || defined (USE_NONANSI_DEFUN)
1553 1553
1554#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, args) \ 1554#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, doc) \
1555 Lisp_Object fnname (); \ 1555 Lisp_Object fnname (); \
1556 struct Lisp_Subr sname = \ 1556 struct Lisp_Subr sname = \
1557 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ 1557 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \
1558 fnname, minargs, maxargs, lname, prompt, 0}; \ 1558 fnname, minargs, maxargs, lname, prompt, 0}; \
1559 Lisp_Object fnname args 1559 Lisp_Object fnname
1560 1560
1561#else 1561#else
1562 1562