summaryrefslogtreecommitdiff
path: root/modules/math
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:06 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:50 -0800
commit62dbbbd1dd25b29720a66a2a2a9c6cec0f7bac10 (patch)
treeadd54187b42ee12b24bea23f24409c63595e1360 /modules/math
parentaa7a0991de0882f7e5c62def3c53eb738cc299d4 (diff)
downloadgnulib-62dbbbd1dd25b29720a66a2a2a9c6cec0f7bac10.tar.gz
math: better 'inline'
* lib/math.c: New file. * lib/math.in.h (_GL_MATH_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/math_h.m4 (gl_MATH_H): Do not require AC_C_INLINE. * modules/math (Files, lib_SOURCES): Add lib/math.c. (Depends-on): Add extern-inline.
Diffstat (limited to 'modules/math')
-rw-r--r--modules/math3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/math b/modules/math
index 57f223e1d2..6f924fd053 100644
--- a/modules/math
+++ b/modules/math
@@ -3,9 +3,11 @@ A GNU-like <math.h>.
Files:
lib/math.in.h
+lib/math.c
m4/math_h.m4
Depends-on:
+extern-inline
include_next
snippet/arg-nonnull
snippet/c++defs
@@ -17,6 +19,7 @@ gl_MATH_H
Makefile.am:
BUILT_SOURCES += math.h
+lib_SOURCES += math.c
# We need the following in order to create <math.h> when the system
# doesn't have one that works with the given compiler.