make get_key() result const char *, so that it is not modified
This commit is contained in:
1 parent
bc01f2e012
commit
743871cff3
36 files changed
+76
-77
No files matched your search
@@ -161,7 +161,7 @@ typedef struct lcd_logical_driver {
|
||||
void (*output) (struct lcd_logical_driver* drvthis, int state);
|
||||
|
||||
/* Key functions */
|
||||
char *(*get_key) (struct lcd_logical_driver* drvthis);
|
||||
const char *(*get_key) (struct lcd_logical_driver* drvthis);
|
||||
/* Returns a string. Server cannot modify
|
||||
this string. */
|
||||
|
||||
|
||||
Reference in new issue
Block a user