added obsolete #warning to gdispInit()
This commit is contained in:
parent
427cfaa052
commit
c4f39fcdde
2 changed files with 9 additions and 2 deletions
|
@ -199,8 +199,8 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
void gfxInit(void);
|
void gfxInit(void);
|
||||||
|
|
||||||
/* Compatibility for old programs */
|
/* compatibility for old programs - throws a #warning */
|
||||||
#define gdispInit() gfxInit()
|
void gdispInit(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,3 +105,10 @@ void gfxInit(void) {
|
||||||
_gaudoutInit();
|
_gaudoutInit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gdispInit(void) {
|
||||||
|
#warning "gdispInit() is obsolete - please use gfxInit() instead"
|
||||||
|
|
||||||
|
gfxInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue