- rcsim: user const types in struct key

This commit is contained in:
svenhoefer
2013-10-04 11:24:40 +02:00
parent 57bcfed789
commit 11a4fe1fd7

View File

@@ -51,8 +51,8 @@ enum { // not defined in input.h but used like that, at least in 2.4.22
};
struct key{
char *name;
unsigned long code;
const char *name;
const unsigned long code;
};
static const struct key keyname[] = {