mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +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;
|
||||
|
||||
/* Return the number of days in YEAR. */
|
||||
extern int dysize (int __year) __THROW;
|
||||
extern int dysize (int __year) __THROW __attribute__ ((__const__));
|
||||
# endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user