1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/osdep
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
..
beos Bug 1004: Use c_toupper in a few more places. 2008-11-01 22:32:43 +02:00
os2 Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
riscos Autogenerate .vimrc files and put the master in config/vimrc 2006-01-15 18:38:58 +01:00
unix terminal: Define separate structs for events passed via the interlink socket. 2006-08-06 20:02:39 +00:00
win32 Win32: Put .elinks in Application Data if %HOME% is undefined. 2007-07-18 00:27:08 +03:00
ascii.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
generic.h Debian bug 464384: fix cast warning in alignof 2008-02-09 00:24:45 +02:00
getifaddrs.c Use PF_* instead of AF_* as first parameter of socket(2). 2006-01-04 00:32:58 +01:00
getifaddrs.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
Makefile Sort Makefile conditionals 2006-01-14 10:41:58 +01:00
newwin.c Name the exec_on_terminal() fg values. 2007-07-15 23:46:18 +03:00
newwin.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
osdep.c Bug 885: Truncate title at 600 bytes, not 1024. 2009-01-01 19:54:35 +00:00
osdep.h Bug 885: Proper charset support in xterm window title 2009-01-01 16:17:03 +00:00
signals.c unblock_itrm(),block_itrm(): drop unused parameter fd. 2007-03-05 22:54:24 +01:00
signals.h Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
stat.h Complete the list of S_I* macros. 2006-01-10 23:59:14 +01:00
stub.c bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
stub.h bug 1047: inline functions C99 conformance 2009-03-28 20:15:08 +02:00
sysname.c Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
sysname.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
system.h CONFIG_BEOS -> CONFIG_OS_BEOS 2006-01-11 20:12:59 +01:00
types.h Debian bug 464384: fix OFF_T_FORMAT mismatches on amd64 2008-02-10 11:30:27 +02:00