Mercurial > hg > xemacs-beta
diff src/inline.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
line wrap: on
line diff
--- a/src/inline.c Mon Aug 13 11:19:22 2007 +0200 +++ b/src/inline.c Mon Aug 13 11:20:41 2007 +0200 @@ -22,23 +22,23 @@ /* The purpose of this file is so that there is at least one actual definition of each inline function. This is needed under GCC. The - reason is that under GCC we declare our inline functions `inline - extern', which causes the inlined version to get used only for + reason is that under GCC we declare our inline functions `extern + inline', which causes the inlined version to get used only for inlining, and in other cases to generate an external reference to the function. This is more efficient than declaring our inline - functions `inline static', which (in many cases) would cause a separate + functions `static inline', which (in many cases) would cause a separate version of the function to get inserted into every source file that - included the corresponding header file. See internals.texi. + included the corresponding header file. Some compilers that recognize `inline' may not do the same - `inline extern' business, so on those we just do `inline static'. + `extern inline' business, so on those we just do `static inline'. */ /* Note to maintainers: This file contains a list of all header files that use the INLINE macro, either directly, or by using DECLARE_LRECORD. - i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE_HEADER' *.h'' */ + i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE' *.h'' */ -#define DONT_EXTERN_INLINE_HEADER_FUNCTIONS +#define DONT_EXTERN_INLINE_FUNCTIONS #include <config.h> #include "lisp.h" @@ -53,7 +53,6 @@ #include "faces.h" #include "frame.h" #include "glyphs.h" -#include "gui.h" #include "keymap.h" #include "lstream.h" #include "objects.h" @@ -68,10 +67,6 @@ #include "eldap.h" #endif -#ifdef HAVE_POSTGRESQL -#include "postgresql.h" -#endif - #ifdef HAVE_TOOLBARS #include "toolbar.h" #endif