Re: [PATCH] De-constify sched.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Oct 2007, Alexey Dobriyan wrote:

> 2) There is no such thing as const task_struct. Anyone who think otherwise
>    deserves compiler warning.
> 

A 'const struct task_struct *' can be used as an annotation to mean that 
no member of the struct is modified through that pointer, so it's 
perfectly acceptable to qualify formals in that manner.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux