Add extern "C".

This commit is contained in:
Ralf Corsepius
2010-04-10 02:19:02 +00:00
parent 7ffa1bae33
commit 7e72d512fd

View File

@@ -20,6 +20,10 @@
#include <stdbool.h> #include <stdbool.h>
#include <termios.h> #include <termios.h>
#ifdef __cplusplus
extern "C" {
#endif
/* /*
* Types for get and set register routines * Types for get and set register routines
*/ */
@@ -149,5 +153,8 @@ extern console_tbl Console_Port_Tbl[];
extern console_data Console_Port_Data[]; extern console_data Console_Port_Data[];
extern unsigned long Console_Port_Count; extern unsigned long Console_Port_Count;
#ifdef __cplusplus
}
#endif
#endif #endif
/* end of include file */