summaryrefslogtreecommitdiff
path: root/lib/strftime.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-11-16 23:40:28 +0100
committerLudovic Courtès <ludo@gnu.org>2009-11-17 23:13:58 +0100
commitf29ded4b67ca5d750863ba24d16456ed8f730d0a (patch)
treeefa4a7794f98c8d8f57ddf91210f5af69b090743 /lib/strftime.h
parente614d37577b63766613dac95d76e9f7826b528d9 (diff)
downloadguile-f29ded4b67ca5d750863ba24d16456ed8f730d0a.tar.gz
Use Gnulib's `warning' module.
* m4/gnulib-cache.m4: Add `warnings'. * configure.ac: Use `gl_WARN_ADD' to check whether compiler flags are supported. * libguile/Makefile.am (libguile_la_LIBADD): Add $(LTLIBICONV). (libguile_la_LDFLAGS): Add $(INET_NTOP_LIB) $(INET_PTON_LIB).
Diffstat (limited to 'lib/strftime.h')
-rw-r--r--lib/strftime.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/strftime.h b/lib/strftime.h
index fded6d0dc..27e11afa7 100644
--- a/lib/strftime.h
+++ b/lib/strftime.h
@@ -17,6 +17,10 @@
#include <time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Just like strftime, but with two more arguments:
POSIX requires that strftime use the local timezone information.
When __UTC is nonzero and tm->tm_zone is NULL or the empty string,
@@ -24,3 +28,7 @@
%N directive. */
size_t nstrftime (char *, size_t, char const *, struct tm const *,
int __utc, int __ns);
+
+#ifdef __cplusplus
+}
+#endif