summaryrefslogtreecommitdiffstats
path: root/bin/chio/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chio/defs.h')
-rw-r--r--bin/chio/defs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/chio/defs.h b/bin/chio/defs.h
index f4580a5..863e3db 100644
--- a/bin/chio/defs.h
+++ b/bin/chio/defs.h
@@ -33,18 +33,18 @@
*/
struct element_type {
- char *et_name; /* name; i.e. "picker, "slot", etc. */
+ const char *et_name; /* name; i.e. "picker, "slot", etc. */
int et_type; /* type number */
};
struct changer_command {
- char *cc_name; /* command name */
+ const char *cc_name; /* command name */
/* command handler */
- int (*cc_handler) __P((char *, int, char **));
+ int (*cc_handler) __P((const char *, int, char **));
};
struct special_word {
- char *sw_name; /* special word */
+ const char *sw_name; /* special word */
int sw_value; /* token value */
};
OpenPOWER on IntegriCloud