On 5 April 2011 23:06, Marcin Ślusarz <marcin.slusarz at gmail.com> wrote: >> +static const char *mode_status_to_string(enum drm_mode_status status) >> +{ >> + const char *strings[] = { > > + static? > You'd probably even want that to be "static const char * const strings[]".