diff --git a/sys/sys/timeet.h b/sys/sys/timeet.h index 728578b8a83b..3d50e51dafc2 100644 --- a/sys/sys/timeet.h +++ b/sys/sys/timeet.h @@ -53,7 +53,7 @@ typedef int et_deregister_cb_t(struct eventtimer *et, void *arg); struct eventtimer { SLIST_ENTRY(eventtimer) et_all; /* Pointer to the next event timer. */ - char *et_name; + const char *et_name; /* Name of the event timer. */ int et_flags; /* Set of capabilities flags: */ diff --git a/sys/sys/timetc.h b/sys/sys/timetc.h index e68e3274e5e3..8f00e229997f 100644 --- a/sys/sys/timetc.h +++ b/sys/sys/timetc.h @@ -49,7 +49,7 @@ struct timecounter { /* This mask should mask off any unimplemented bits. */ uint64_t tc_frequency; /* Frequency of the counter in Hz. */ - char *tc_name; + const char *tc_name; /* Name of the timecounter. */ int tc_quality; /*