summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/bspIo.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-07-26 06:12:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-07-26 06:12:29 +0000
commit8eea24b8d3e7ffc21dfda589482e794224017fcc (patch)
treed85333591dd43336931b4d6e72625cab4b97f24f /cpukit/include/rtems/bspIo.h
parent2007-07-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8eea24b8d3e7ffc21dfda589482e794224017fcc.tar.bz2
2007-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/bspIo.h, include/rtems/pci.h: Add extern "C" guards. Reported by Robert S. Grimes <rsg@alum.mit.edu>.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/bspIo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h
index 775e8ce4be..d3eda5610a 100644
--- a/cpukit/include/rtems/bspIo.h
+++ b/cpukit/include/rtems/bspIo.h
@@ -14,6 +14,10 @@
#ifndef _RTEMS_BSPIO_H
#define _RTEMS_BSPIO_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* All the functions declared as extern after this comment
* MUST be implemented in each BSP. Using this function,
@@ -36,4 +40,8 @@ extern BSP_polling_getchar_function_type BSP_poll_char;
extern void vprintk(char *fmt, va_list ap);
extern void printk(char *fmt, ...);
+#ifdef __cplusplus
+}
+#endif
+
#endif