diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-09-17 17:00:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-09-17 17:00:19 +0000 |
commit | 6f77f16f7b3396e4e33570ebc3b40ebf4aaef7cf (patch) | |
tree | a092938b31f2e5060fbeed36964af6d810d078c7 /cpukit/libmisc/serdbg | |
parent | 2004-09-17 Till Strauman <strauman@slac.stanford.edu> (diff) | |
download | rtems-6f77f16f7b3396e4e33570ebc3b40ebf4aaef7cf.tar.bz2 |
2004-09-17 Joel Sherrill <joel@OARcorp.com>
PR 677/misc
* libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h,
libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h,
libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h,
libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add
extern C wrappers.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/serdbg/serdbg.h | 7 | ||||
-rw-r--r-- | cpukit/libmisc/serdbg/serdbgcnf.h | 8 | ||||
-rw-r--r-- | cpukit/libmisc/serdbg/termios_printk.h | 9 | ||||
-rw-r--r-- | cpukit/libmisc/serdbg/termios_printk_cnf.h | 8 |
4 files changed, 32 insertions, 0 deletions
diff --git a/cpukit/libmisc/serdbg/serdbg.h b/cpukit/libmisc/serdbg/serdbg.h index 00d5d827e1..963c117877 100644 --- a/cpukit/libmisc/serdbg/serdbg.h +++ b/cpukit/libmisc/serdbg/serdbg.h @@ -25,6 +25,9 @@ #include <rtems.h> #include <termios.h> +#ifdef __cplusplus +extern "C" { +#endif typedef struct { uint32_t baudrate; /* debug baud rate, e.g. 57600 */ void (*callout)(void); /* callout pointer during polling */ @@ -171,4 +174,8 @@ int getDebugChar | received character | \*=========================================================================*/ +#ifdef __cplusplus +} +#endif + #endif /* _SERDBG_H */ diff --git a/cpukit/libmisc/serdbg/serdbgcnf.h b/cpukit/libmisc/serdbg/serdbgcnf.h index 024e545d5c..278fdf0db2 100644 --- a/cpukit/libmisc/serdbg/serdbgcnf.h +++ b/cpukit/libmisc/serdbg/serdbgcnf.h @@ -24,6 +24,10 @@ #include <rtems/serdbg.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifdef CONFIGURE_INIT /* @@ -78,4 +82,8 @@ int serdbg_init(void) { #endif /* CONFIGURE_INIT */ +#ifdef __cplusplus +} +#endif + #endif /* _SERDBGCNF_H */ diff --git a/cpukit/libmisc/serdbg/termios_printk.h b/cpukit/libmisc/serdbg/termios_printk.h index d3a3703b11..7392991753 100644 --- a/cpukit/libmisc/serdbg/termios_printk.h +++ b/cpukit/libmisc/serdbg/termios_printk.h @@ -25,6 +25,10 @@ #include <rtems.h> #include <termios.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { uint32_t baudrate; /* debug baud rate, e.g. 57600 */ void (*callout)(void); /* callout pointer during polling */ @@ -92,4 +96,9 @@ int termios_printk_open | Return Value: | | 0 on success, -1 and errno otherwise | \*=========================================================================*/ + +#ifdef __cplusplus +} +#endif + #endif /* _TERMIOS_PRINTK_H */ diff --git a/cpukit/libmisc/serdbg/termios_printk_cnf.h b/cpukit/libmisc/serdbg/termios_printk_cnf.h index 55aea94d03..2e8a7ac043 100644 --- a/cpukit/libmisc/serdbg/termios_printk_cnf.h +++ b/cpukit/libmisc/serdbg/termios_printk_cnf.h @@ -24,6 +24,10 @@ #include <rtems/termios_printk.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifdef CONFIGURE_INIT /* @@ -67,4 +71,8 @@ int termios_printk_init(void) { #endif /* CONFIGURE_INIT */ +#ifdef __cplusplus +} +#endif + #endif /* _TERMIOS_PRINTK_CNF_H */ |