From 11a4fe1fd7913fbfc533b678bed7da2e449b56fa Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 4 Oct 2013 11:24:40 +0200 Subject: [PATCH] - rcsim: user const types in struct key --- src/create_rcsim_h.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/create_rcsim_h.sh b/src/create_rcsim_h.sh index 177b79dd5..331ab072c 100755 --- a/src/create_rcsim_h.sh +++ b/src/create_rcsim_h.sh @@ -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[] = {