diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 22:04:02 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 22:04:02 -0700 |
commit | a7ca3326c4740ed3ed118b794d35d235de49f346 (patch) | |
tree | 5d38e0eac8e839c84a4ccb6e8a07c3c7858fff54 /src/lisp.h | |
parent | e87b6180b08c60a256dd8557945321ce2354a3a9 (diff) | |
download | emacs-a7ca3326c4740ed3ed118b794d35d235de49f346.tar.gz |
Undo the DEFUN->DEFUE change.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lisp.h b/src/lisp.h index 508f0b3a40b..4696a1c3432 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1806,12 +1806,8 @@ typedef struct { `doc' is documentation for the user. */ /* This version of DEFUN declares a function prototype with the right - arguments, so we can catch errors with maxargs at compile-time. - DEFUN defines an internal function, and DEFUE is similar but defines a - external function, which can be used in other C-language modules. */ -#define DEFUN static DEFINE_FUNC -#define DEFUE extern DEFINE_FUNC -#define DEFINE_FUNC(lname, fnname, sname, minargs, maxargs, intspec, doc) \ + arguments, so we can catch errors with maxargs at compile-time. */ +#define DEFUN(lname, fnname, sname, minargs, maxargs, intspec, doc) \ Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; \ static DECL_ALIGN (struct Lisp_Subr, sname) = \ { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ |