mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Add const attribute for dysize.
This commit is contained in:
parent
24c7f4c14b
commit
be2623ae79
@ -273,7 +273,7 @@ extern time_t timegm (struct tm *__tp) __THROW;
|
|||||||
extern time_t timelocal (struct tm *__tp) __THROW;
|
extern time_t timelocal (struct tm *__tp) __THROW;
|
||||||
|
|
||||||
/* Return the number of days in YEAR. */
|
/* Return the number of days in YEAR. */
|
||||||
extern int dysize (int __year) __THROW;
|
extern int dysize (int __year) __THROW __attribute__ ((__const__));
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user