2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
This commit is contained in:
parent
ce63785554
commit
6249353a4c
@ -1,3 +1,7 @@
|
|||||||
|
2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
|
||||||
|
|
||||||
Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
|
Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* libc/include/sys/stat.h: Use special defines for executable stat bits
|
* libc/include/sys/stat.h: Use special defines for executable stat bits
|
||||||
|
@ -48,9 +48,9 @@ ANSI C requires <<mktime>>.
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#define _SEC_IN_MINUTE 60
|
#define _SEC_IN_MINUTE 60L
|
||||||
#define _SEC_IN_HOUR 3600
|
#define _SEC_IN_HOUR 3600L
|
||||||
#define _SEC_IN_DAY 86400
|
#define _SEC_IN_DAY 86400L
|
||||||
|
|
||||||
static _CONST int DAYS_IN_MONTH[12] =
|
static _CONST int DAYS_IN_MONTH[12] =
|
||||||
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user