Wrap header with ifdef for C++ compatibility
This commit is contained in:
parent
fa16ae779f
commit
a248d72b8c
1 changed files with 8 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef _DVI_H
|
||||
#define _DVI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define N_TMDS_LANES 3
|
||||
#define TMDS_SYNC_LANE 0 // blue!
|
||||
|
||||
|
|
@ -69,4 +73,8 @@ void dvi_scanbuf_main_16bpp(struct dvi_inst *inst);
|
|||
void dvi_framebuf_main_8bpp(struct dvi_inst *inst);
|
||||
void dvi_framebuf_main_16bpp(struct dvi_inst *inst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue