From a66ba8f68a74d2360271daeedbdecd168f58b646 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 6 Aug 2009 01:26:50 +0000 Subject: [PATCH 1/2] Change license of my crt time code to LGPL, this is a minimum requirement to be usable by mingw. svn path=/branches/ros-amd64-bringup/; revision=42414 --- reactos/lib/sdk/crt/time_new/asctime.c | 2 +- reactos/lib/sdk/crt/time_new/bitsfixup.h | 7 +++++++ reactos/lib/sdk/crt/time_new/clock.c | 2 +- reactos/lib/sdk/crt/time_new/ctime.c | 2 +- reactos/lib/sdk/crt/time_new/ctime32.c | 2 +- reactos/lib/sdk/crt/time_new/ctime64.c | 2 +- reactos/lib/sdk/crt/time_new/difftime.c | 2 +- reactos/lib/sdk/crt/time_new/difftime32.c | 2 +- reactos/lib/sdk/crt/time_new/difftime64.c | 2 +- reactos/lib/sdk/crt/time_new/ftime.c | 2 +- reactos/lib/sdk/crt/time_new/ftime32.c | 2 +- reactos/lib/sdk/crt/time_new/ftime64.c | 2 +- reactos/lib/sdk/crt/time_new/futime.c | 2 +- reactos/lib/sdk/crt/time_new/futime32.c | 2 +- reactos/lib/sdk/crt/time_new/futime64.c | 2 +- reactos/lib/sdk/crt/time_new/gmtime.c | 2 +- reactos/lib/sdk/crt/time_new/localtime.c | 2 +- reactos/lib/sdk/crt/time_new/localtime32.c | 2 +- reactos/lib/sdk/crt/time_new/localtime64.c | 2 +- reactos/lib/sdk/crt/time_new/mktime.c | 2 +- reactos/lib/sdk/crt/time_new/strdate.c | 2 +- reactos/lib/sdk/crt/time_new/strftime.c | 7 +++++++ reactos/lib/sdk/crt/time_new/strtime.c | 2 +- reactos/lib/sdk/crt/time_new/time.c | 2 +- reactos/lib/sdk/crt/time_new/time32.c | 7 +++++++ reactos/lib/sdk/crt/time_new/time64.c | 7 +++++++ reactos/lib/sdk/crt/time_new/timezone.c | 2 +- reactos/lib/sdk/crt/time_new/tzname.c | 2 +- reactos/lib/sdk/crt/time_new/utime.c | 2 +- reactos/lib/sdk/crt/time_new/utime32.c | 2 +- reactos/lib/sdk/crt/time_new/utime64.c | 2 +- reactos/lib/sdk/crt/time_new/wasctime.c | 2 +- reactos/lib/sdk/crt/time_new/wcsftime.c | 2 +- reactos/lib/sdk/crt/time_new/wctime.c | 2 +- reactos/lib/sdk/crt/time_new/wctime32.c | 2 +- reactos/lib/sdk/crt/time_new/wctime64.c | 2 +- reactos/lib/sdk/crt/time_new/wstrdate.c | 2 +- reactos/lib/sdk/crt/time_new/wstrtime.c | 2 +- reactos/lib/sdk/crt/time_new/wutime.c | 2 +- reactos/lib/sdk/crt/time_new/wutime32.c | 2 +- reactos/lib/sdk/crt/time_new/wutime64.c | 2 +- 41 files changed, 65 insertions(+), 37 deletions(-) diff --git a/reactos/lib/sdk/crt/time_new/asctime.c b/reactos/lib/sdk/crt/time_new/asctime.c index 4929ddfd49b..222fd8abdd1 100644 --- a/reactos/lib/sdk/crt/time_new/asctime.c +++ b/reactos/lib/sdk/crt/time_new/asctime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ftime.c * PURPOSE: Implementation of asctime(), _asctime_s() diff --git a/reactos/lib/sdk/crt/time_new/bitsfixup.h b/reactos/lib/sdk/crt/time_new/bitsfixup.h index 196ff882dc2..c016503ab4f 100644 --- a/reactos/lib/sdk/crt/time_new/bitsfixup.h +++ b/reactos/lib/sdk/crt/time_new/bitsfixup.h @@ -1,3 +1,10 @@ +/* + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory + * PROJECT: ReactOS CRT library + * FILE: lib/sdk/crt/time/bitsfixup.h + * PURPOSE: definitions for different time_t versions + * PROGRAMERS: Timo Kreuzer + */ #if defined(_USE_EXPLITIT_32BIT_TIME) || defined(_USE_EXPLITIT_64BIT_TIME) #undef _timeb diff --git a/reactos/lib/sdk/crt/time_new/clock.c b/reactos/lib/sdk/crt/time_new/clock.c index 54cc7af88f5..e601341363e 100644 --- a/reactos/lib/sdk/crt/time_new/clock.c +++ b/reactos/lib/sdk/crt/time_new/clock.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/clock.c * PURPOSE: Implementation of clock() diff --git a/reactos/lib/sdk/crt/time_new/ctime.c b/reactos/lib/sdk/crt/time_new/ctime.c index 3502b06fa6d..731100c44b7 100644 --- a/reactos/lib/sdk/crt/time_new/ctime.c +++ b/reactos/lib/sdk/crt/time_new/ctime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ctime.c * PURPOSE: Implementation of ctime, _ctime_s diff --git a/reactos/lib/sdk/crt/time_new/ctime32.c b/reactos/lib/sdk/crt/time_new/ctime32.c index 51abdee2dcd..db42e969ce8 100644 --- a/reactos/lib/sdk/crt/time_new/ctime32.c +++ b/reactos/lib/sdk/crt/time_new/ctime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ctime32.c * PURPOSE: Implementation of _ctime32() diff --git a/reactos/lib/sdk/crt/time_new/ctime64.c b/reactos/lib/sdk/crt/time_new/ctime64.c index 7cba433d978..60e7fc3cbc6 100644 --- a/reactos/lib/sdk/crt/time_new/ctime64.c +++ b/reactos/lib/sdk/crt/time_new/ctime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ctime64.c * PURPOSE: Implementation of _ctime64 diff --git a/reactos/lib/sdk/crt/time_new/difftime.c b/reactos/lib/sdk/crt/time_new/difftime.c index 59f1d5a51dc..94bb2bce474 100644 --- a/reactos/lib/sdk/crt/time_new/difftime.c +++ b/reactos/lib/sdk/crt/time_new/difftime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/difftime.c * PURPOSE: Implementation of difftime diff --git a/reactos/lib/sdk/crt/time_new/difftime32.c b/reactos/lib/sdk/crt/time_new/difftime32.c index 5dff9d54d6a..929ebf97c2d 100644 --- a/reactos/lib/sdk/crt/time_new/difftime32.c +++ b/reactos/lib/sdk/crt/time_new/difftime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/difftime32.c * PURPOSE: Implementation of _difftime32 diff --git a/reactos/lib/sdk/crt/time_new/difftime64.c b/reactos/lib/sdk/crt/time_new/difftime64.c index 37820c9fc38..aae2e32ef37 100644 --- a/reactos/lib/sdk/crt/time_new/difftime64.c +++ b/reactos/lib/sdk/crt/time_new/difftime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/difftime64.c * PURPOSE: Implementation of _difftime64 diff --git a/reactos/lib/sdk/crt/time_new/ftime.c b/reactos/lib/sdk/crt/time_new/ftime.c index 5e630450b4a..d97640ef3ee 100644 --- a/reactos/lib/sdk/crt/time_new/ftime.c +++ b/reactos/lib/sdk/crt/time_new/ftime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ftime.c * PURPOSE: Deprecated BSD library call diff --git a/reactos/lib/sdk/crt/time_new/ftime32.c b/reactos/lib/sdk/crt/time_new/ftime32.c index fc636e48227..b267db02641 100644 --- a/reactos/lib/sdk/crt/time_new/ftime32.c +++ b/reactos/lib/sdk/crt/time_new/ftime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ftime32.c * PURPOSE: Implementation of _ftime32 diff --git a/reactos/lib/sdk/crt/time_new/ftime64.c b/reactos/lib/sdk/crt/time_new/ftime64.c index 824ee07ffe8..61afd52270c 100644 --- a/reactos/lib/sdk/crt/time_new/ftime64.c +++ b/reactos/lib/sdk/crt/time_new/ftime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ftime64.c * PURPOSE: Implementation of _ftime64 diff --git a/reactos/lib/sdk/crt/time_new/futime.c b/reactos/lib/sdk/crt/time_new/futime.c index fe1ec3d1da1..99010f09f57 100644 --- a/reactos/lib/sdk/crt/time_new/futime.c +++ b/reactos/lib/sdk/crt/time_new/futime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/futime.c * PURPOSE: Implementation of _futime diff --git a/reactos/lib/sdk/crt/time_new/futime32.c b/reactos/lib/sdk/crt/time_new/futime32.c index 41b1321614c..6ce37d63ea8 100644 --- a/reactos/lib/sdk/crt/time_new/futime32.c +++ b/reactos/lib/sdk/crt/time_new/futime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/futime32.c * PURPOSE: Implementation of _futime32 diff --git a/reactos/lib/sdk/crt/time_new/futime64.c b/reactos/lib/sdk/crt/time_new/futime64.c index d754b472c68..0a2e4eef77e 100644 --- a/reactos/lib/sdk/crt/time_new/futime64.c +++ b/reactos/lib/sdk/crt/time_new/futime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/futime64.c * PURPOSE: Implementation of _futime64 diff --git a/reactos/lib/sdk/crt/time_new/gmtime.c b/reactos/lib/sdk/crt/time_new/gmtime.c index e48bcdcc930..d1c4f8b6901 100644 --- a/reactos/lib/sdk/crt/time_new/gmtime.c +++ b/reactos/lib/sdk/crt/time_new/gmtime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/gmtime.c * PURPOSE: Implementation of gmtime, _gmtime32, _gmtime64 diff --git a/reactos/lib/sdk/crt/time_new/localtime.c b/reactos/lib/sdk/crt/time_new/localtime.c index c10337a63ec..eaee71dfdd8 100644 --- a/reactos/lib/sdk/crt/time_new/localtime.c +++ b/reactos/lib/sdk/crt/time_new/localtime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/localtime.c * PURPOSE: Implementation of localtime, localtime_s diff --git a/reactos/lib/sdk/crt/time_new/localtime32.c b/reactos/lib/sdk/crt/time_new/localtime32.c index 9116270a7a3..0ecff87d549 100644 --- a/reactos/lib/sdk/crt/time_new/localtime32.c +++ b/reactos/lib/sdk/crt/time_new/localtime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/localtime32.c * PURPOSE: Implementation of _localtime32 diff --git a/reactos/lib/sdk/crt/time_new/localtime64.c b/reactos/lib/sdk/crt/time_new/localtime64.c index c06d371be8b..7d1f0e43c72 100644 --- a/reactos/lib/sdk/crt/time_new/localtime64.c +++ b/reactos/lib/sdk/crt/time_new/localtime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/localtime64.c * PURPOSE: Implementation of _localtime64 diff --git a/reactos/lib/sdk/crt/time_new/mktime.c b/reactos/lib/sdk/crt/time_new/mktime.c index 7c0cf720a3f..d60af8eb79b 100644 --- a/reactos/lib/sdk/crt/time_new/mktime.c +++ b/reactos/lib/sdk/crt/time_new/mktime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/mktime.c * PURPOSE: Implementation of mktime, _mkgmtime diff --git a/reactos/lib/sdk/crt/time_new/strdate.c b/reactos/lib/sdk/crt/time_new/strdate.c index 0aaa023c8b5..4b2b7ee47fe 100644 --- a/reactos/lib/sdk/crt/time_new/strdate.c +++ b/reactos/lib/sdk/crt/time_new/strdate.c @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS CRT library - * FILE: lib/msvcrt/time/strtime.c + * FILE: lib/sdk/crt/time/strtime.c * PURPOSE: Fills a buffer with a formatted date representation * PROGRAMER: Ariadne * UPDATE HISTORY: diff --git a/reactos/lib/sdk/crt/time_new/strftime.c b/reactos/lib/sdk/crt/time_new/strftime.c index f1416d151bb..797e4c3ece5 100644 --- a/reactos/lib/sdk/crt/time_new/strftime.c +++ b/reactos/lib/sdk/crt/time_new/strftime.c @@ -1,3 +1,10 @@ +/* + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory + * PROJECT: ReactOS CRT library + * FILE: lib/sdk/crt/time/strftime.c + * PURPOSE: + * PROGRAMER: + */ #include #include diff --git a/reactos/lib/sdk/crt/time_new/strtime.c b/reactos/lib/sdk/crt/time_new/strtime.c index d6e10687152..8dfacf3851c 100644 --- a/reactos/lib/sdk/crt/time_new/strtime.c +++ b/reactos/lib/sdk/crt/time_new/strtime.c @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries - * FILE: lib/msvcrt/time/strtime.c + * FILE: lib/sdk/crt/time/strtime.c * PURPOSE: Fills a buffer with a formatted time representation * PROGRAMER: Ariadne * UPDATE HISTORY: diff --git a/reactos/lib/sdk/crt/time_new/time.c b/reactos/lib/sdk/crt/time_new/time.c index fcd23826cc7..cc55d480fc9 100644 --- a/reactos/lib/sdk/crt/time_new/time.c +++ b/reactos/lib/sdk/crt/time_new/time.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS system libraries * FILE: lib/sdk/crt/time/time.c * PURPOSE: Implementation of _time (_tim32, _tim64) diff --git a/reactos/lib/sdk/crt/time_new/time32.c b/reactos/lib/sdk/crt/time_new/time32.c index 5b43771e6ff..2ca3953c1f8 100644 --- a/reactos/lib/sdk/crt/time_new/time32.c +++ b/reactos/lib/sdk/crt/time_new/time32.c @@ -1,3 +1,10 @@ +/* + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory + * PROJECT: ReactOS CRT library + * FILE: lib/sdk/crt/time/time32.c + * PURPOSE: + * PROGRAMER: + */ #define _USE_EXPLITIT_32BIT_TIME #include "time.c" diff --git a/reactos/lib/sdk/crt/time_new/time64.c b/reactos/lib/sdk/crt/time_new/time64.c index 1811dfaae7a..df66843950a 100644 --- a/reactos/lib/sdk/crt/time_new/time64.c +++ b/reactos/lib/sdk/crt/time_new/time64.c @@ -1,3 +1,10 @@ +/* + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory + * PROJECT: ReactOS CRT library + * FILE: lib/sdk/crt/time/time64.c + * PURPOSE: + * PROGRAMER: + */ #define _USE_EXPLITIT_64BIT_TIME #include "time.c" diff --git a/reactos/lib/sdk/crt/time_new/timezone.c b/reactos/lib/sdk/crt/time_new/timezone.c index b52373dc973..468d0a89ffd 100644 --- a/reactos/lib/sdk/crt/time_new/timezone.c +++ b/reactos/lib/sdk/crt/time_new/timezone.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/timezone.c * PURPOSE: Implementation of time zone functions diff --git a/reactos/lib/sdk/crt/time_new/tzname.c b/reactos/lib/sdk/crt/time_new/tzname.c index 927042e7800..1064f8e0335 100644 --- a/reactos/lib/sdk/crt/time_new/tzname.c +++ b/reactos/lib/sdk/crt/time_new/tzname.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/ctime.c * PURPOSE: Implementation of ctime diff --git a/reactos/lib/sdk/crt/time_new/utime.c b/reactos/lib/sdk/crt/time_new/utime.c index 58b00232ce9..130e5a400ba 100644 --- a/reactos/lib/sdk/crt/time_new/utime.c +++ b/reactos/lib/sdk/crt/time_new/utime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/utime.c * PURPOSE: Implementation of utime, _wutime diff --git a/reactos/lib/sdk/crt/time_new/utime32.c b/reactos/lib/sdk/crt/time_new/utime32.c index 5e8ebeb0c94..890ce675723 100644 --- a/reactos/lib/sdk/crt/time_new/utime32.c +++ b/reactos/lib/sdk/crt/time_new/utime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/utime32.c * PURPOSE: Implementation of _utime32 diff --git a/reactos/lib/sdk/crt/time_new/utime64.c b/reactos/lib/sdk/crt/time_new/utime64.c index caffd02f77a..f709fa1afbd 100644 --- a/reactos/lib/sdk/crt/time_new/utime64.c +++ b/reactos/lib/sdk/crt/time_new/utime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/utime64.c * PURPOSE: Implementation of _utime64 diff --git a/reactos/lib/sdk/crt/time_new/wasctime.c b/reactos/lib/sdk/crt/time_new/wasctime.c index 9c275410b70..e8f2eb5ecd0 100644 --- a/reactos/lib/sdk/crt/time_new/wasctime.c +++ b/reactos/lib/sdk/crt/time_new/wasctime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wasctime.c * PURPOSE: Implementation of _wasctime diff --git a/reactos/lib/sdk/crt/time_new/wcsftime.c b/reactos/lib/sdk/crt/time_new/wcsftime.c index 2936b93262a..f33b2bbac37 100644 --- a/reactos/lib/sdk/crt/time_new/wcsftime.c +++ b/reactos/lib/sdk/crt/time_new/wcsftime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wcsftime.c * PURPOSE: Implementation of _wcsftime diff --git a/reactos/lib/sdk/crt/time_new/wctime.c b/reactos/lib/sdk/crt/time_new/wctime.c index e3058b58a1f..3a36ebfc93c 100644 --- a/reactos/lib/sdk/crt/time_new/wctime.c +++ b/reactos/lib/sdk/crt/time_new/wctime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wctime.c * PURPOSE: Implementation of _wctime diff --git a/reactos/lib/sdk/crt/time_new/wctime32.c b/reactos/lib/sdk/crt/time_new/wctime32.c index eba262cc588..a2b7a8fc1c3 100644 --- a/reactos/lib/sdk/crt/time_new/wctime32.c +++ b/reactos/lib/sdk/crt/time_new/wctime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wctime32.c * PURPOSE: Implementation of _wctime32 diff --git a/reactos/lib/sdk/crt/time_new/wctime64.c b/reactos/lib/sdk/crt/time_new/wctime64.c index 43ed93d0755..bdfea52f474 100644 --- a/reactos/lib/sdk/crt/time_new/wctime64.c +++ b/reactos/lib/sdk/crt/time_new/wctime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wctime64.c * PURPOSE: Implementation of _Wctime64 diff --git a/reactos/lib/sdk/crt/time_new/wstrdate.c b/reactos/lib/sdk/crt/time_new/wstrdate.c index ac67c8a6eb0..df717f686c1 100644 --- a/reactos/lib/sdk/crt/time_new/wstrdate.c +++ b/reactos/lib/sdk/crt/time_new/wstrdate.c @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS CRT library - * FILE: lib/msvcrt/time/strtime.c + * FILE: lib/sdk/crt/time/strtime.c * PURPOSE: Fills a buffer with a formatted date representation * PROGRAMER: Ariadne * UPDATE HISTORY: diff --git a/reactos/lib/sdk/crt/time_new/wstrtime.c b/reactos/lib/sdk/crt/time_new/wstrtime.c index 322c7ba824b..5da8c16291d 100644 --- a/reactos/lib/sdk/crt/time_new/wstrtime.c +++ b/reactos/lib/sdk/crt/time_new/wstrtime.c @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS CRT library - * FILE: lib/msvcrt/time/strtime.c + * FILE: lib/sdk/crt/time/strtime.c * PURPOSE: Fills a buffer with a formatted time representation * PROGRAMER: Ariadne * UPDATE HISTORY: diff --git a/reactos/lib/sdk/crt/time_new/wutime.c b/reactos/lib/sdk/crt/time_new/wutime.c index 9a5d5d165de..6ae4739e84a 100644 --- a/reactos/lib/sdk/crt/time_new/wutime.c +++ b/reactos/lib/sdk/crt/time_new/wutime.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wutime.c * PURPOSE: Implementation of _wutime diff --git a/reactos/lib/sdk/crt/time_new/wutime32.c b/reactos/lib/sdk/crt/time_new/wutime32.c index b6bda2dafe5..2fd8b3f8032 100644 --- a/reactos/lib/sdk/crt/time_new/wutime32.c +++ b/reactos/lib/sdk/crt/time_new/wutime32.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wutime32.c * PURPOSE: Implementation of _wutime32 diff --git a/reactos/lib/sdk/crt/time_new/wutime64.c b/reactos/lib/sdk/crt/time_new/wutime64.c index fac19d41c5f..d666ab80a7c 100644 --- a/reactos/lib/sdk/crt/time_new/wutime64.c +++ b/reactos/lib/sdk/crt/time_new/wutime64.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT: See COPYING in the top level directory + * COPYRIGHT: LGPL, See LGPL.txt in the top level directory * PROJECT: ReactOS CRT library * FILE: lib/sdk/crt/time/wutime64.c * PURPOSE: Implementation of _wutime64 From bd754cd1f328bc7f00a14fc34df5fcf64ae940ac Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 19 Sep 2009 14:06:47 +0000 Subject: [PATCH 2/2] convert to spec and fix duplicate definition svn path=/branches/ros-amd64-bringup/; revision=43080 --- reactos/dll/win32/winsta/winsta.def | 123 ------------------------- reactos/dll/win32/winsta/winsta.rbuild | 2 +- reactos/dll/win32/winsta/winsta.spec | 122 ++++++++++++++++++++++++ reactos/dll/win32/winsta/ws.c | 12 --- 4 files changed, 123 insertions(+), 136 deletions(-) delete mode 100644 reactos/dll/win32/winsta/winsta.def create mode 100644 reactos/dll/win32/winsta/winsta.spec diff --git a/reactos/dll/win32/winsta/winsta.def b/reactos/dll/win32/winsta/winsta.def deleted file mode 100644 index 7004ca7c5db..00000000000 --- a/reactos/dll/win32/winsta/winsta.def +++ /dev/null @@ -1,123 +0,0 @@ -LIBRARY winsta.dll -EXPORTS -LogonIdFromWinStationNameA@12 -LogonIdFromWinStationNameW@12 -RemoteAssistancePrepareSystemRestore@4 -ServerGetInternetConnectorStatus@12 -ServerLicensingClose@4 -ServerLicensingDeactivateCurrentPolicy@4 -ServerLicensingFreePolicyInformation@4 -ServerLicensingGetAvailablePolicyIds@12 -ServerLicensingGetPolicy@8 -ServerLicensingGetPolicyInformationA@16 -ServerLicensingGetPolicyInformationW@16 -ServerLicensingLoadPolicy@8 -ServerLicensingOpenA@4 -ServerLicensingOpenW@4 -ServerLicensingSetPolicy@12 -ServerLicensingUnloadPolicy@8 -ServerQueryInetConnectorInformationA@16 -ServerQueryInetConnectorInformationW@16 -ServerSetInternetConnectorStatus@12 -WinStationActivateLicense@16 -WinStationAutoReconnect@4 -WinStationBroadcastSystemMessage@40 -WinStationCheckAccess@12 -WinStationCheckLoopBack@16 -WinStationCloseServer@16 -WinStationConnectA@4 -WinStationConnectCallback@20 -WinStationConnectEx@8 -WinStationConnectW@20 -WinStationDisconnect@12 -WinStationDynVirtualChanRead@20 -WinStationDynVirtualChanWrite@16 -WinStationEnumerateA@12 -WinStationEnumerateLicenses@12 -WinStationEnumerateProcesses@8 -WinStationEnumerateW@12 -WinStationEnumerate_IndexedA@20 -WinStationEnumerate_IndexedW@20 -WinStationFreeGAPMemory@12 -WinStationFreeMemory@4 -WinStationFreeUserCertificates@4 -WinStationFreeUserCredentials@4 -WinStationGenerateLicense@16 -WinStationGetAllProcesses@16 -WinStationGetConnectionProperty@12 -WinStationGetInitialApplication@20 -WinStationGetLanAdapterNameA@24 -WinStationGetLanAdapterNameW@24 -WinStationGetLoggedOnCount@8 -WinStationGetMachinePolicy@8 -WinStationGetProcessSid@24 -WinStationGetTermSrvCountersValue@12 -WinStationGetUserCertificates@4 -WinStationGetUserCredentials@4 -WinStationGetUserProfile@16 -WinStationInstallLicense@12 -WinStationIsHelpAssistantSession@8 -WinStationIsSessionPermitted@0 -WinStationNameFromLogonIdA@12 -WinStationNameFromLogonIdW@12 -WinStationNtsdDebug@20 -WinStationOpenServerA@4 -WinStationOpenServerW@4 -WinStationQueryAllowConcurrentConnections@0 -WinStationQueryEnforcementCore@24 -WinStationQueryInformationA@24 -WinStationQueryInformationW@24 -WinStationQueryLicense@12 -WinStationQueryLogonCredentialsW@4 -WinStationQueryUpdateRequired@8 -WinStationRegisterConsoleNotification@12 -WinStationRegisterConsoleNotificationEx@16 -WinStationRegisterNotificationEvent@16 -WinStationRemoveLicense@12 -WinStationRenameA@12 -WinStationRenameW@12 -WinStationRequestSessionsList@12 -WinStationReset@12 -WinStationSendMessageA@40 -WinStationSendMessageW@40 -WinStationSendWindowMessage@32 -WinStationServerPing@4 -WinStationSetInformationA@20 -WinStationSetInformationW@20 -WinStationSetPoolCount@12 -WinStationShadow@20 -WinStationShadowStop@12 -WinStationShutdownSystem@8 -WinStationSwitchToServicesSession@0 -WinStationSystemShutdownStarted@0 -WinStationSystemShutdownWait@8 -WinStationTerminateProcess@12 -WinStationUnRegisterConsoleNotification@8 -WinStationUnRegisterNotificationEvent@4 -WinStationUserLoginAccessCheck@16 -WinStationVirtualOpen@12 -WinStationVirtualOpenEx@16 -WinStationWaitSystemEvent@12 -_NWLogonQueryAdmin@12 -_NWLogonSetAdmin@12 -_WinStationAnnoyancePopup@8 -_WinStationBeepOpen@12 -_WinStationBreakPoint@12 -_WinStationCallback@12 -_WinStationCheckForApplicationName@48 -_WinStationFUSCanRemoteUserDisconnect@12 -_WinStationGetApplicationInfo@16 -_WinStationNotifyDisconnectPipe@0 -_WinStationNotifyLogoff@0 -_WinStationNotifyLogon@32 -_WinStationNotifyNewSession@8 -_WinStationReInitializeSecurity@4 -_WinStationReadRegistry@4 -_WinStationSessionInitialized@0 -_WinStationShadowTarget@40 -_WinStationShadowTargetSetup@8 -_WinStationUpdateClientCachedCredentials@28 -_WinStationUpdateSettings@12 -_WinStationUpdateUserConfig@4 -_WinStationWaitForConnect@0 -; EOF diff --git a/reactos/dll/win32/winsta/winsta.rbuild b/reactos/dll/win32/winsta/winsta.rbuild index 37b587ab4b3..b3a29b4bd51 100644 --- a/reactos/dll/win32/winsta/winsta.rbuild +++ b/reactos/dll/win32/winsta/winsta.rbuild @@ -1,5 +1,5 @@ - + . wine kernel32 diff --git a/reactos/dll/win32/winsta/winsta.spec b/reactos/dll/win32/winsta/winsta.spec new file mode 100644 index 00000000000..bc35066c763 --- /dev/null +++ b/reactos/dll/win32/winsta/winsta.spec @@ -0,0 +1,122 @@ + +@ stdcall LogonIdFromWinStationNameA(ptr ptr ptr) +@ stdcall LogonIdFromWinStationNameW(ptr ptr ptr) +@ stdcall RemoteAssistancePrepareSystemRestore(ptr) +@ stdcall ServerGetInternetConnectorStatus(ptr ptr ptr) +@ stdcall ServerLicensingClose(ptr) +@ stdcall ServerLicensingDeactivateCurrentPolicy(ptr) +@ stdcall ServerLicensingFreePolicyInformation(ptr) +@ stdcall ServerLicensingGetAvailablePolicyIds(ptr ptr ptr) +@ stdcall ServerLicensingGetPolicy(ptr ptr) +@ stdcall ServerLicensingGetPolicyInformationA(ptr ptr ptr ptr) +@ stdcall ServerLicensingGetPolicyInformationW(ptr ptr ptr ptr) +@ stdcall ServerLicensingLoadPolicy(ptr ptr) +@ stdcall ServerLicensingOpenA(ptr) +@ stdcall ServerLicensingOpenW(ptr) +@ stdcall ServerLicensingSetPolicy(ptr ptr ptr) +@ stdcall ServerLicensingUnloadPolicy(ptr ptr) +@ stdcall ServerQueryInetConnectorInformationA(ptr ptr ptr ptr) +@ stdcall ServerQueryInetConnectorInformationW(ptr ptr ptr ptr) +@ stdcall ServerSetInternetConnectorStatus(ptr ptr ptr) +@ stdcall WinStationActivateLicense(ptr ptr ptr ptr) +@ stdcall WinStationAutoReconnect(ptr) +@ stdcall WinStationBroadcastSystemMessage(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationCheckAccess(ptr ptr ptr) +@ stdcall WinStationCheckLoopBack(ptr ptr ptr ptr) +@ stdcall WinStationCloseServer(ptr ptr ptr ptr) +@ stdcall WinStationConnectA(ptr) +@ stdcall WinStationConnectCallback(ptr ptr ptr ptr ptr) +@ stdcall WinStationConnectEx(ptr ptr) +@ stdcall WinStationConnectW(ptr ptr ptr ptr ptr) +@ stdcall WinStationDisconnect(ptr ptr ptr) +@ stdcall WinStationDynVirtualChanRead(ptr ptr ptr ptr ptr) +@ stdcall WinStationDynVirtualChanWrite(ptr ptr ptr ptr) +@ stdcall WinStationEnumerateA(ptr ptr ptr) +@ stdcall WinStationEnumerateLicenses(ptr ptr ptr) +@ stdcall WinStationEnumerateProcesses(ptr ptr) +@ stdcall WinStationEnumerateW(ptr ptr ptr) +@ stdcall WinStationEnumerate_IndexedA(ptr ptr ptr ptr ptr) +@ stdcall WinStationEnumerate_IndexedW(ptr ptr ptr ptr ptr) +@ stdcall WinStationFreeGAPMemory(ptr ptr ptr) +@ stdcall WinStationFreeMemory(ptr) +@ stdcall WinStationFreeUserCertificates(ptr) +@ stdcall WinStationFreeUserCredentials(ptr) +@ stdcall WinStationGenerateLicense(ptr ptr ptr ptr) +@ stdcall WinStationGetAllProcesses(ptr ptr ptr ptr) +@ stdcall WinStationGetConnectionProperty(ptr ptr ptr) +@ stdcall WinStationGetInitialApplication(ptr ptr ptr ptr ptr) +@ stdcall WinStationGetLanAdapterNameA(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationGetLanAdapterNameW(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationGetLoggedOnCount(ptr ptr) +@ stdcall WinStationGetMachinePolicy(ptr ptr) +@ stdcall WinStationGetProcessSid(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationGetTermSrvCountersValue(ptr ptr ptr) +@ stdcall WinStationGetUserCertificates(ptr) +@ stdcall WinStationGetUserCredentials(ptr) +@ stdcall WinStationGetUserProfile(ptr ptr ptr ptr) +@ stdcall WinStationInstallLicense(ptr ptr ptr) +@ stdcall WinStationIsHelpAssistantSession(ptr ptr) +@ stdcall WinStationIsSessionPermitted() +@ stdcall WinStationNameFromLogonIdA(ptr ptr ptr) +@ stdcall WinStationNameFromLogonIdW(ptr ptr ptr) +@ stdcall WinStationNtsdDebug(ptr ptr ptr ptr ptr) +@ stdcall WinStationOpenServerA(ptr) +@ stdcall WinStationOpenServerW(ptr) +@ stdcall WinStationQueryAllowConcurrentConnections() +@ stdcall WinStationQueryEnforcementCore(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationQueryInformationA(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationQueryInformationW(ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationQueryLicense(ptr ptr ptr) +@ stdcall WinStationQueryLogonCredentialsW(ptr) +@ stdcall WinStationQueryUpdateRequired(ptr ptr) +@ stdcall WinStationRegisterConsoleNotification(ptr ptr ptr) +@ stdcall WinStationRegisterConsoleNotificationEx(ptr ptr ptr ptr) +@ stdcall WinStationRegisterNotificationEvent(ptr ptr ptr ptr) +@ stdcall WinStationRemoveLicense(ptr ptr ptr) +@ stdcall WinStationRenameA(ptr ptr ptr) +@ stdcall WinStationRenameW(ptr ptr ptr) +@ stdcall WinStationRequestSessionsList(ptr ptr ptr) +@ stdcall WinStationReset(ptr ptr ptr) +@ stdcall WinStationSendMessageA(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationSendMessageW(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationSendWindowMessage(ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall WinStationServerPing(ptr) +@ stdcall WinStationSetInformationA(ptr ptr ptr ptr ptr) +@ stdcall WinStationSetInformationW(ptr ptr ptr ptr ptr) +@ stdcall WinStationSetPoolCount(ptr ptr ptr) +@ stdcall WinStationShadow(ptr ptr ptr ptr ptr) +@ stdcall WinStationShadowStop(ptr ptr ptr) +@ stdcall WinStationShutdownSystem(ptr ptr) +@ stdcall WinStationSwitchToServicesSession() +@ stdcall WinStationSystemShutdownStarted() +@ stdcall WinStationSystemShutdownWait(ptr ptr) +@ stdcall WinStationTerminateProcess(ptr ptr ptr) +@ stdcall WinStationUnRegisterConsoleNotification(ptr ptr) +@ stdcall WinStationUnRegisterNotificationEvent(ptr) +@ stdcall WinStationUserLoginAccessCheck(ptr ptr ptr ptr) +@ stdcall WinStationVirtualOpen(ptr ptr ptr) +@ stdcall WinStationVirtualOpenEx(ptr ptr ptr ptr) +@ stdcall WinStationWaitSystemEvent(ptr ptr ptr) +@ stdcall _NWLogonQueryAdmin(ptr ptr ptr) +@ stdcall _NWLogonSetAdmin(ptr ptr ptr) +@ stdcall _WinStationAnnoyancePopup(ptr ptr) +@ stdcall _WinStationBeepOpen(ptr ptr ptr) +@ stdcall _WinStationBreakPoint(ptr ptr ptr) +@ stdcall _WinStationCallback(ptr ptr ptr) +@ stdcall _WinStationCheckForApplicationName(ptr) +@ stdcall _WinStationFUSCanRemoteUserDisconnect(ptr ptr ptr) +@ stdcall _WinStationGetApplicationInfo(ptr ptr ptr ptr) +@ stdcall _WinStationNotifyDisconnectPipe() +@ stdcall _WinStationNotifyLogoff() +@ stdcall _WinStationNotifyLogon(ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall _WinStationNotifyNewSession(ptr ptr) +@ stdcall _WinStationReInitializeSecurity(ptr) +@ stdcall _WinStationReadRegistry(ptr) +@ stdcall _WinStationSessionInitialized() +@ stdcall _WinStationShadowTarget(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) +@ stdcall _WinStationShadowTargetSetup(ptr ptr) +@ stdcall _WinStationUpdateClientCachedCredentials(ptr ptr ptr ptr ptr ptr ptr) +@ stdcall _WinStationUpdateSettings(ptr ptr ptr) +@ stdcall _WinStationUpdateUserConfig(ptr) +@ stdcall _WinStationWaitForConnect() + diff --git a/reactos/dll/win32/winsta/ws.c b/reactos/dll/win32/winsta/ws.c index 4fe9e0f49ae..4cfa59dc6ab 100644 --- a/reactos/dll/win32/winsta/ws.c +++ b/reactos/dll/win32/winsta/ws.c @@ -93,18 +93,6 @@ WINSTAAPI WinStationFreeGAPMemory(PVOID A, UNIMPLEMENTED; } -VOID -WINSTAAPI WinStationGetProcessSid(PVOID A, - PVOID B, - PVOID C, - PVOID D, - PVOID E, - PVOID F, - PVOID G) -{ - UNIMPLEMENTED; -} - VOID WINSTAAPI WinStationIsHelpAssistantSession(PVOID A, PVOID B)