mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-20 07:51:19 +00:00
include: Added \threadsafety notes to about 60 more functions.
Reference Issue #7140.
(cherry picked from commit 28e4269915)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user