diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-13 12:09:14 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-13 12:14:24 +0200 |
commit | 21187cdf04f6b6697064430aac68dcf795923943 (patch) | |
tree | fb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /include/ouroboros/dev.h | |
parent | b43e8cd0f0858e78486752007c3640b70bf44c8d (diff) | |
download | ouroboros-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.h | 9 |
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 */ |