summaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-06-30 21:42:21 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-06-30 21:42:21 +0200
commit27b0d98d085454a9f3fbaeb73ac3000e5a965db4 (patch)
tree01c5cd7a67d25a26fe1e886999c4a48dd37dd00e /lib/util.h
parentupdated copyright info (diff)
added support for C++ based projects
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index 2326f66..eb1ad6f 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -23,10 +23,18 @@
#ifndef SPREADAVR_util_h_INCLUDED
#define SPREADAVR_util_h_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void cpu_init(void);
#if defined JTD
void jtag_disable(void);
#endif
void reset2bootloader(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif