summaryrefslogtreecommitdiffstats
path: root/include/inttypes.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-01-06 19:04:12 +0000
committermike <mike@FreeBSD.org>2002-01-06 19:04:12 +0000
commit944cba2780eafd672c4656ee970a287eef3191b2 (patch)
tree26470d053a2ff194783e9b13a1e009806b6e308a /include/inttypes.h
parent4e1080d4dc4a8faf7f36b5b69d8854a678bdad8e (diff)
downloadFreeBSD-src-944cba2780eafd672c4656ee970a287eef3191b2.zip
FreeBSD-src-944cba2780eafd672c4656ee970a287eef3191b2.tar.gz
Add support for C++.
Submitted by: bde PR: 33590
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 6387191..6efcd81 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -42,6 +42,7 @@ typedef struct {
intmax_t rem; /* Remainder. */
} imaxdiv_t;
+__BEGIN_DECLS
intmax_t imaxabs(intmax_t) __pure2;
imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2;
@@ -50,5 +51,6 @@ intmax_t strtoimax(const char *, char **, int);
uintmax_t strtoumax(const char *, char **, int);
intmax_t wcstoimax(const wchar_t *, wchar_t **, int);
uintmax_t wcstoumax(const wchar_t *, wchar_t **, int);
+__END_DECLS
#endif /* !_INTTYPES_H_ */
OpenPOWER on IntegriCloud