summaryrefslogtreecommitdiff
path: root/include/ouroboros/dev.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:09:14 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:14:24 +0200
commit21187cdf04f6b6697064430aac68dcf795923943 (patch)
treefb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /include/ouroboros/dev.h
parentb43e8cd0f0858e78486752007c3640b70bf44c8d (diff)
downloadouroboros-21187cdf04f6b6697064430aac68dcf795923943.tar.gz
ouroboros-21187cdf04f6b6697064430aac68dcf795923943.zip
include: Add C++ directives in headers
Fixes #34
Diffstat (limited to 'include/ouroboros/dev.h')
-rw-r--r--include/ouroboros/dev.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h
index 396f2ae3..73d2d7b6 100644
--- a/include/ouroboros/dev.h
+++ b/include/ouroboros/dev.h
@@ -21,13 +21,16 @@
* 02110-1301 USA
*/
+#ifndef OUROBOROS_DEV_H
+#define OUROBOROS_DEV_H
+
+#include <ouroboros/cdefs.h>
#include <ouroboros/qos.h>
#include <unistd.h>
#include <time.h>
-#ifndef OUROBOROS_DEV_H
-#define OUROBOROS_DEV_H
+__BEGIN_DECLS
/* These calls should be removed once we write the ouroboros OS. */
int ouroboros_init(const char * ap_name);
@@ -53,4 +56,6 @@ ssize_t flow_read(int fd,
void * buf,
size_t count);
+__END_DECLS
+
#endif /* OUROBOROS_DEV_H */