c++: Add extern "C" { } block to header files
Adds extern "C" { } blocks to header files so that they can be safely used by C++ source files. Change-Id: Ia4db0c36a5dac5d3de351184a297d2af0df64532 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
6504b7e72a
commit
a0e4568760
128 changed files with 1035 additions and 3 deletions
|
@ -17,6 +17,10 @@
|
|||
#ifndef DISPLAY_GROVE_LCD_H
|
||||
#define DISPLAY_GROVE_LCD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define GROVE_LCD_NAME "GLCD"
|
||||
|
||||
/**
|
||||
|
@ -162,4 +166,8 @@ void glcd_color_set(struct device *port, uint8_t r, uint8_t g, uint8_t b);
|
|||
*/
|
||||
int glcd_initialize(struct device *port);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DISPLAY_GROVE_LCD_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue