mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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>.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
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>.
|
||||
|
||||
2007-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -20,6 +20,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Under PCI, each device has 256 bytes of configuration address space,
|
||||
* of which the first 64 bytes are standardized as follows:
|
||||
@@ -1225,4 +1229,8 @@ pci_find_device(
|
||||
*/
|
||||
extern unsigned char pci_bus_count();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTEMS_PCI_H */
|
||||
|
||||
Reference in New Issue
Block a user