diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:06 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:51 -0800 |
commit | 6925387eae842273dbb242d3933046bb13e50bc2 (patch) | |
tree | e87f163510de774598b7478b15416c656e236a98 /modules/sigaction | |
parent | 2a7c405b01fb6c89664fe15554d96854efb3f837 (diff) | |
download | gnulib-6925387eae842273dbb242d3933046bb13e50bc2.tar.gz |
sigaction: better 'inline'
* lib/sig-handler.c: New file.
* lib/sig-handler.h (SIG_HANDLER_INLINE):
New macro. Replace all uses of 'static inline' with it.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): Do not require AC_C_INLINE.
* modules/sigaction (Files, lib_SOURCES): Add lib/sig-handler.c.
(Depends-on): Add extern-inline.
Diffstat (limited to 'modules/sigaction')
-rw-r--r-- | modules/sigaction | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/sigaction b/modules/sigaction index 2180766807..438748230d 100644 --- a/modules/sigaction +++ b/modules/sigaction @@ -4,9 +4,11 @@ POSIX compatible signal handlers. Files: lib/sigaction.c lib/sig-handler.h +lib/sig-handler.c m4/sigaction.m4 Depends-on: +extern-inline signal-h sigprocmask [test $HAVE_SIGACTION = 0] @@ -19,6 +21,7 @@ fi gl_SIGNAL_MODULE_INDICATOR([sigaction]) Makefile.am: +lib_SOURCES += sig-handler.c Include: <signal.h> |