event: Make strings const
[petitboot] / discover / event.h
index 91575ccd0de02004b94ff032566841e7c528e1b3..900ced892d11738939dad4381fd4241c4c7208ca 100644 (file)
@@ -16,11 +16,11 @@ enum event_action {
 struct event {
        enum event_type type;
        enum event_action action;
 struct event {
        enum event_type type;
        enum event_action action;
-       char *device;
+       const char *device;
 
        struct param {
 
        struct param {
-               char *name;
-               char *value;
+               const char *name;
+               const char *value;
        } *params;
        int n_params;
 };
        } *params;
        int n_params;
 };