aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2009-03-31 15:24:48 -0700
committerLinus Torvalds <[email protected]>2009-04-01 08:59:24 -0700
commit78d89ef40c2ff7265df077e20c4d76be7d415204 (patch)
tree68503b0252682a496495b7adb46f6aa278db88ae /scripts
parent47367a3ba425d70467af0009782098235ddbf204 (diff)
rtc: convert LEAP_YEAR into an inline
- the LEAP_YEAR macro is buggy - it references its arg multiple times. Fix this by turning it into a C function. - give it a more approriate name - Move it to rtc.h so that other .c files can use it, instead of copying it. Cc: dann frazier <[email protected]> Acked-by: Alessandro Zummo <[email protected]> Cc: stephane eranian <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions