1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-18 01:26:23 -04:00
elinks/src/terminal
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
..
color.c bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
color.h bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
draw.c bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
draw.h Trim trailing whitespaces. 2007-09-14 15:12:32 +02:00
event.c Use get_terminal_codepage in handle_interlink_event. 2009-01-01 22:59:11 +00:00
event.h Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
hardio.c Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
hardio.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
itrm.h Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
kbd.c Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
kbd.h Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
key.inc Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
mouse.c Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
mouse.h terminal: Define separate structs for events passed via the interlink socket. 2006-08-06 20:02:39 +00:00
palette.inc Doxygen: Begin commands with @ not \. 2007-07-31 13:47:12 +03:00
screen.c Refer to bug 96 in a comment. 2007-09-03 21:02:58 +03:00
screen.h Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
tab.c bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
tab.h Move delayed_open to src/terminal/tab.c 2006-01-16 19:28:03 +00:00
terminal.c Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
terminal.h Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
TODO Initial commit of the HEAD branch of the ELinks CVS repository, as of 2005-09-15 15:58:31 +02:00
window.c Doxygenate src/terminal/ 2007-07-27 18:33:33 +03:00
window.h More doc comments about coordinates. 2007-08-29 09:57:18 +03:00