diff options
author | Patrick McHardy <kaber@trash.net> | 2010-07-09 00:18:04 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-09 00:18:56 +0200 |
commit | f2de7d6b9d5ae75b0dc7614dad996c2b341977ae (patch) | |
tree | 05affe8e20dff6071e56f9bbe6dd5c292aad0b8b /include/dect/libdect.h | |
parent | 95810170dfec244ba03456ddb5ab0efa50a19e1f (diff) |
headers: make headers usable by C++
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/dect/libdect.h')
-rw-r--r-- | include/dect/libdect.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dect/libdect.h b/include/dect/libdect.h index ba95b5a..b004505 100644 --- a/include/dect/libdect.h +++ b/include/dect/libdect.h @@ -20,6 +20,10 @@ #include <dect/ss.h> #include <list.h> +#ifdef __cplusplus +extern "C" { +#endif + struct dect_handle; /** @@ -138,4 +142,7 @@ extern int dect_init(struct dect_handle *dh); extern void dect_set_debug_hook(int (*fn)(const char *fmt, va_list ap)); +#ifdef __cplusplus +extern "C" { +#endif #endif /* _LIBDECT_DECT_LIBDECT_H */ |