mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 15:02:00 +00:00
include: Added \threadsafety notes to about 60 more functions.
Reference Issue #7140.
(cherry picked from commit 28e4269915)
This commit is contained in:
parent
13ff9e0818
commit
4cc96e3506
12 changed files with 153 additions and 1 deletions
|
|
@ -32,7 +32,6 @@
|
|||
*/
|
||||
Sint64 SDL_CivilToDays(int year, int month, int day, int *day_of_week, int *day_of_year)
|
||||
{
|
||||
|
||||
year -= month <= 2;
|
||||
const int era = (year >= 0 ? year : year - 399) / 400;
|
||||
const unsigned yoe = (unsigned)(year - era * 400); // [0, 399]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue