sys_socket: better 'inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Nov 2012 06:25:06 +0000 (22:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Nov 2012 07:38:51 +0000 (23:38 -0800)
commitc75f87d6e47194491fbd3f5db974cf94a5c61f20
tree020b58f7fd66403e4df28fc8fdf36cb58f432f86
parent01d0ac747bd4fb13d03afb06ba25ccf4d4d2d7c6
sys_socket: better 'inline'

* lib/sys_socket.c: New file.
* lib/sys_socket.in.h (_GL_SYS_SOCKET_INLINE):
New macro.  Replace all uses of 'static inline' with it.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Do not require AC_C_INLINE.
* modules/sys_socket (Files, lib_SOURCES): Add lib/sys_socket.c.
(Depends-on): Add extern-inline.
ChangeLog
lib/sys_socket.c [new file with mode: 0644]
lib/sys_socket.in.h
m4/sys_socket_h.m4
modules/sys_socket