summaryrefslogtreecommitdiff
path: root/modules/wctype-h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:07 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:52 -0800
commit15b55826727e2010405953a370da01c59ab9ea0d (patch)
treed4a45bf9b019caae5042ec4181da48a94bbf5b5e /modules/wctype-h
parent108828a0e95d3c4e89ff4f38fe4b39ae6218792e (diff)
downloadgnulib-15b55826727e2010405953a370da01c59ab9ea0d.tar.gz
wctype-h: better 'inline'
* lib/wctype-h.c: New file. * lib/wctype.in.h (_GL_WCTYPE_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/wctype_h.m4 (gl_WCTYPE_H): Do not require AC_C_INLINE. * modules/wctype-h (Files, lib_SOURCES): Add lib/wctype-h.c. (Depends-on): Add extern-inline.
Diffstat (limited to 'modules/wctype-h')
-rw-r--r--modules/wctype-h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/wctype-h b/modules/wctype-h
index f7b7b5911f..b2cbdcde6b 100644
--- a/modules/wctype-h
+++ b/modules/wctype-h
@@ -3,10 +3,12 @@ A <wctype.h> that conforms better to C99.
Files:
lib/wctype.in.h
+lib/wctype-h.c
m4/wctype_h.m4
m4/wint_t.m4
Depends-on:
+extern-inline
include_next
snippet/c++defs
snippet/warn-on-use
@@ -16,6 +18,7 @@ gl_WCTYPE_H
Makefile.am:
BUILT_SOURCES += wctype.h
+lib_SOURCES += wctype-h.c
# We need the following in order to create <wctype.h> when the system
# doesn't have one that works with the given compiler.