lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] proc: constify status array
From
On Wed, Mar 30, 2011 at 9:09 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> -static const char *task_state_array[] = {
> +static const char * const task_state_array[] = {

Why this is needed for task_state_array, but not for, say, tgid_base_stuff?

00000000000000e0 d task_state_array
0000000000000a50 r tgid_base_stuff

This double const is ugly.


\
 
 \ /
  Last update: 2011-03-30 11:59    [W:0.096 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site