Commit dbcbbe02 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Added _daylight stub int, and __p__daylight function.

parent 2d309da2
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
@ cdecl __p__acmdln() __p__acmdln @ cdecl __p__acmdln() __p__acmdln
@ stub __p__amblksiz #() @ stub __p__amblksiz #()
@ cdecl __p__commode() __p__commode @ cdecl __p__commode() __p__commode
@ stub __p__daylight #() @ cdecl __p__daylight() MSVCRT___p__daylight
@ stub __p__dstbias #() @ stub __p__dstbias #()
@ cdecl __p__environ() __p__environ @ cdecl __p__environ() __p__environ
@ stub __p__fileinfo #() @ stub __p__fileinfo #()
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
@ varargs _cscanf(str) _cscanf @ varargs _cscanf(str) _cscanf
@ extern _ctype MSVCRT__ctype @ extern _ctype MSVCRT__ctype
@ cdecl _cwait(ptr long long) _cwait @ cdecl _cwait(ptr long long) _cwait
@ stub _daylight @ extern _daylight MSVCRT___daylight
@ stub _dstbias @ stub _dstbias
@ cdecl _dup (long) _dup @ cdecl _dup (long) _dup
@ cdecl _dup2 (long long) _dup2 @ cdecl _dup2 (long long) _dup2
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* INTERNAL: Return formatted current time/date */ /* INTERNAL: Return formatted current time/date */
char* msvcrt_get_current_time(char* out, const char* format) char* msvcrt_get_current_time(char* out, const char* format)
{ {
...@@ -141,3 +140,16 @@ void _ftime(struct _timeb *buf) ...@@ -141,3 +140,16 @@ void _ftime(struct _timeb *buf)
buf->timezone = 0; buf->timezone = 0;
buf->dstflag = 0; buf->dstflag = 0;
} }
/*********************************************************************
* _daylight (MSVCRT.@)
*/
int MSVCRT___daylight = 1; /* FIXME: assume daylight */
/*********************************************************************
* __p_daylight (MSVCRT.@)
*/
void *MSVCRT___p__daylight(void)
{
return &MSVCRT___daylight;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment