--- cursor/shape_to_id.gperf.orig 2013-08-28 14:00:29.539200308 +0200 +++ cursor/shape_to_id.gperf 2013-08-28 14:01:02.866194795 +0200 @@ -1,5 +1,5 @@ struct shape_mapping { const char *name; int number; }; -const int cursor_shape_to_id(const char *name); +int cursor_shape_to_id(const char *name); %% X_cursor,0 arrow,1 @@ -79,7 +79,7 @@ watch,75 xterm,76 %% -const int cursor_shape_to_id(const char *name) { +int cursor_shape_to_id(const char *name) { struct shape_mapping *mapping = in_word_set(name, strlen(name)); return (mapping ? (mapping->number * 2) : -1); }