make get_key() result const char *, so that it is not modified
This commit is contained in:
@@ -37,7 +37,7 @@ MODULE_EXPORT void HD44780_set_char (Driver *drvthis, int n, char *dat);
|
||||
MODULE_EXPORT void HD44780_backlight (Driver *drvthis, int on);
|
||||
MODULE_EXPORT void HD44780_output (Driver *drvthis, int state);
|
||||
|
||||
MODULE_EXPORT char * HD44780_get_key (Driver *drvthis);
|
||||
MODULE_EXPORT const char * HD44780_get_key (Driver *drvthis);
|
||||
|
||||
static void HD44780_init_vbar (Driver *drvthis);
|
||||
static void HD44780_init_hbar (Driver *drvthis);
|
||||
|
||||
Reference in New Issue
Block a user