]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lists: add "const" qualifier to first arg of list_splice() operations
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 29 Apr 2008 07:59:29 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:04 +0000 (08:06 -0700)
commit95d8c365b2df2adb904963333a93b15414403ed1
tree0ee819420354ecc2ef7091f432319f55b497cf4e
parent86735118459b46422e20d3b73ee732b1f1f780b1
lists: add "const" qualifier to first arg of list_splice() operations

Since neither the list_splice() nor __list_splice() routines modify their
first argument, might as well declare them "const".

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/list.h