1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-18 01:26:23 -04:00
elinks/src/document
Kalle Olavi Niemitalo d7d18e4e43 bug 1047: inline functions C99 conformance
C99 6.7.4p3 and 6.7.4p6 set some constraints on what can be done in
inline functions and how they can be declared.  In particular, any
function declared inline must also be defined in the same translation
unit.  To comply with that, remove inline specifiers from function
declarations in header files when the functions are not also defined
in those header files.

Sun Studio 11 on Solaris 9 is stricter than C99 and does not allow
references to static identifiers in extern inline functions.  Make the
configure script detect this and define NONSTATIC_INLINE accordingly
in config.h.  Then use that in the definitions of all non-static
inline functions.

Document the restrictions and this scheme in doc/hacking.txt.
2009-03-28 20:15:08 +02:00
..
css Rewrap lines in option documentation. 2009-03-08 15:18:10 +02:00
dom bug 1067: Comments about freeing the DOM document node. 2009-02-15 04:27:39 +02:00
html Fix double-free crash if EOF immediately follows </MAP>. 2008-12-31 20:15:44 +00:00
plain Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
docdata.c Doxygenate src/document/ (but not subdirs) 2007-07-28 02:34:59 +03:00
docdata.h mem_alloc_align: drop the obj type parameter 2006-02-17 17:32:59 +00:00
document.c Patch 1: Finalize modifications to the HTML parser 2008-10-26 18:00:19 +02:00
document.h bug 153, 1066: Convert session-snapshot bookmarks to/from UTF-8. 2009-02-08 18:26:19 +02:00
format.c Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
format.h Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
forms.c Doxygenate src/document/ (but not subdirs) 2007-07-28 02:34:59 +03:00
forms.h Doxygenate src/document/ (but not subdirs) 2007-07-28 02:34:59 +03:00
Makefile Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
options.c bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
options.h Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
refresh.c Introduce start_document_refreshes() 2007-09-14 16:44:04 +02:00
refresh.h Introduce start_document_refreshes() 2007-09-14 16:44:04 +02:00
renderer.c Add get_terminal_codepage(). 2009-01-01 16:16:17 +00:00
renderer.h Backport Pasky's changes concerning text_style-related stuff. 2007-09-14 14:59:37 +02:00
view.h Doxygenate src/document/ (but not subdirs) 2007-07-28 02:34:59 +03:00