diff options
| author | Wolfgang Denk <wd@denx.de> | 2008-05-20 16:00:29 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-05-21 00:14:08 +0200 | 
| commit | 53677ef18e25c97ac613349087c5cb33ae5a2741 (patch) | |
| tree | f947d34d6efaee2401ea0e4c6104ef2f6a0f7ad0 /drivers/rtc/date.c | |
| parent | 727f63334676e760877d43bfb8f0e9331ac8b101 (diff) | |
| download | olio-uboot-2014.01-53677ef18e25c97ac613349087c5cb33ae5a2741.tar.xz olio-uboot-2014.01-53677ef18e25c97ac613349087c5cb33ae5a2741.zip | |
Big white-space cleanup.
This commit gets rid of a huge amount of silly white-space issues.
Especially, all sequences of SPACEs followed by TAB characters get
removed (unless they appear in print statements).
Also remove all embedded "vim:" and "vi:" statements which hide
indentation problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/rtc/date.c')
| -rw-r--r-- | drivers/rtc/date.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/rtc/date.c b/drivers/rtc/date.c index a83a7235a..d30ad92a7 100644 --- a/drivers/rtc/date.c +++ b/drivers/rtc/date.c @@ -36,8 +36,8 @@  #define SECDAY			86400L  #define SECYR			(SECDAY * 365)  #define	leapyear(year)		((year) % 4 == 0) -#define	days_in_year(a) 	(leapyear(a) ? 366 : 365) -#define	days_in_month(a) 	(month_days[(a) - 1]) +#define	days_in_year(a)		(leapyear(a) ? 366 : 365) +#define	days_in_month(a)	(month_days[(a) - 1])  static int month_days[12] = {  	31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 |