]> git.hungrycats.org Git - linux/commit
[PATCH] use const in time.h unit conversion functions
authorAndrew Morton <akpm@osdl.org>
Thu, 3 Jun 2004 01:01:02 +0000 (18:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:01:02 +0000 (18:01 -0700)
commit93c934c00c41f4cb8d0681d52f393ada7271ca7c
tree87829314132b5034e88c4436de461e99f29eebf9
parentf2b7a611f5c9598ff548bb3c39df06913aa2ca39
[PATCH] use const in time.h unit conversion functions

From: William Lee Irwin III <wli@holomorphy.com>

The time conversion functions may have const args, which is in fact useful
for when they are passed const variables as arguments so as to avoid
discarding qualifiers from pointer types warnings.  This is a preparatory
cleanup for a minor aio bugfix.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/time.h