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:
Ralf Corsepius
2007-07-26 06:10:24 +00:00
parent 17a13b9562
commit 6ba34b09dc
3 changed files with 22 additions and 0 deletions

View File

@@ -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-05-29 Joel Sherrill <joel.sherrill@OARcorp.com> 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update copyright notice. * score/include/rtems/score/copyrt.h: Update copyright notice.

View File

@@ -14,6 +14,10 @@
#ifndef _RTEMS_BSPIO_H #ifndef _RTEMS_BSPIO_H
#define _RTEMS_BSPIO_H #define _RTEMS_BSPIO_H
#ifdef __cplusplus
extern "C" {
#endif
/* /*
* All the functions declared as extern after this comment * All the functions declared as extern after this comment
* MUST be implemented in each BSP. Using this function, * 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 vprintk(char *fmt, va_list ap);
extern void printk(char *fmt, ...); extern void printk(char *fmt, ...);
#ifdef __cplusplus
}
#endif
#endif #endif

View File

@@ -18,6 +18,10 @@
#ifndef _RTEMS_PCI_H #ifndef _RTEMS_PCI_H
#define _RTEMS_PCI_H #define _RTEMS_PCI_H
#ifdef __cplusplus
extern "C" {
#endif
/* /*
* Under PCI, each device has 256 bytes of configuration address space, * Under PCI, each device has 256 bytes of configuration address space,
* of which the first 64 bytes are standardized as follows: * of which the first 64 bytes are standardized as follows:
@@ -1222,4 +1226,8 @@ pci_find_device(
*/ */
extern unsigned char pci_bus_count(); extern unsigned char pci_bus_count();
#ifdef __cplusplus
}
#endif
#endif /* _RTEMS_PCI_H */ #endif /* _RTEMS_PCI_H */