make get_key() result const char *, so that it is not modified

This commit is contained in:
marschap
2006-04-06 13:25:14 +00:00
parent bc01f2e012
commit 743871cff3
36 changed files with 76 additions and 77 deletions
+1 -1
View File
@@ -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. */