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);
|
||||
|
||||
/* Compatibility for old programs */
|
||||
#define gdispInit() gfxInit()
|
||||
/* compatibility for old programs - throws a #warning */
|
||||
void gdispInit(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -105,3 +105,10 @@ void gfxInit(void) {
|
|||
_gaudoutInit();
|
||||
#endif
|
||||
}
|
||||
|
||||
void gdispInit(void) {
|
||||
#warning "gdispInit() is obsolete - please use gfxInit() instead"
|
||||
|
||||
gfxInit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue