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 /m4 | |
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 'm4')
-rw-r--r-- | m4/sigaction.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/m4/sigaction.m4 b/m4/sigaction.m4 index 171d3a4278..18bfd03c84 100644 --- a/m4/sigaction.m4 +++ b/m4/sigaction.m4 @@ -1,4 +1,4 @@ -# sigaction.m4 serial 6 +# sigaction.m4 serial 7 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -37,7 +37,4 @@ AC_DEFUN([gl_PREREQ_SIGACTION], ]) # Prerequisites of lib/sig-handler.h. -AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [:]) |