Author: akhaldi
Date: Mon May 26 09:57:36 2014
New Revision: 63460
URL:
http://svn.reactos.org/svn/reactos?rev=63460&view=rev
Log:
[MSVCRT]
* Zap some exports that do not exist in native.
* Group the ones that we're forced to keep (only temporarily right now) for Gecko.
CORE-8174
Modified:
trunk/reactos/dll/win32/msvcrt/msvcrt.spec
Modified: trunk/reactos/dll/win32/msvcrt/msvcrt.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/msvcrt.sp…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/msvcrt.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/msvcrt.spec [iso-8859-1] Mon May 26 09:57:36 2014
@@ -212,13 +212,11 @@
@ extern __unguarded_readlc_active
@ extern __wargv __wargv
@ cdecl __wcserror(wstr)
-@ cdecl __wcserror_s(ptr long wstr)
@ cdecl __wgetmainargs(ptr ptr ptr long ptr)
@ extern __winitenv
@ cdecl _abnormal_termination()
# stub _abs64
@ cdecl _access(str long)
-@ cdecl _access_s(str long)
@ extern _acmdln
@ stdcall -arch=i386 _adj_fdiv_m16i(long)
@ stdcall -arch=i386 _adj_fdiv_m32(long)
@@ -266,7 +264,6 @@
@ extern _commode
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
-@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign( double double )
@ varargs _cprintf(str)
@ cdecl _cputs(str)
@@ -274,9 +271,7 @@
@ cdecl _creat(str long)
@ varargs _cscanf(str)
@ cdecl _ctime32(ptr)
-@ cdecl _ctime32_s(str long ptr)
@ cdecl _ctime64(ptr)
-@ cdecl _ctime64_s(str long ptr)
@ extern _ctype
@ cdecl _cwait(ptr long long)
@ varargs _cwprintf(wstr)
@@ -379,9 +374,7 @@
@ cdecl _getws(ptr)
@ cdecl -i386 _global_unwind2(ptr)
@ cdecl _gmtime32(ptr)
-@ cdecl _gmtime32_s(ptr ptr)
@ cdecl _gmtime64(ptr)
-@ cdecl _gmtime64_s(ptr ptr)
@ cdecl _heapadd(ptr long)
@ cdecl _heapchk()
@ cdecl _heapmin()
@@ -390,9 +383,7 @@
@ cdecl _heapwalk(ptr)
@ cdecl _hypot(double double)
@ cdecl _i64toa(long long ptr long)
-@ cdecl _i64toa_s(long long ptr long long)
@ cdecl _i64tow(long long ptr long)
-@ cdecl _i64tow_s(long long ptr long long)
@ cdecl _initterm(ptr ptr)
@ cdecl _initterm_e(ptr ptr)
@ cdecl -arch=i386 _inp(long) MSVCRT__inp
@@ -434,9 +425,7 @@
@ cdecl _ismbstrail(ptr ptr)
@ cdecl _isnan(double)
@ cdecl _itoa(long ptr long)
-@ cdecl _itoa_s(long ptr long long)
@ cdecl _itow(long ptr long)
-@ cdecl _itow_s(long ptr long long)
@ cdecl _j0(double)
@ cdecl _j1(double)
@ cdecl _jn(long double)
@@ -446,9 +435,7 @@
@ cdecl -i386 _local_unwind2(ptr long)
@ cdecl -i386 _local_unwind4(ptr ptr long)
@ cdecl _localtime32(ptr)
-@ cdecl _localtime32_s(ptr ptr)
@ cdecl _localtime64(ptr)
-@ cdecl _localtime64_s(ptr ptr)
@ cdecl _lock(long)
@ cdecl _locking(long long long)
@ cdecl _logb(double)
@@ -459,11 +446,8 @@
@ cdecl _lseek(long long long)
@ cdecl -ret64 _lseeki64(long double long)
@ cdecl _ltoa(long ptr long)
-@ cdecl _ltoa_s(long ptr long long)
@ cdecl _ltow(long ptr long)
-@ cdecl _ltow_s(long ptr long long)
@ cdecl _makepath(ptr str str str str)
-@ cdecl _makepath_s(ptr long str str str str)
@ cdecl _mbbtombc(long)
@ cdecl _mbbtype(long long)
@ extern _mbcasemap
@@ -496,7 +480,6 @@
@ cdecl _mbsnbcnt(ptr long)
@ cdecl _mbsnbcoll(str str long)
@ cdecl _mbsnbcpy(ptr str long)
-@ cdecl _mbsnbcpy_s(ptr long str long)
@ cdecl _mbsnbicmp(str str long)
@ cdecl _mbsnbicoll(str str long)
@ cdecl _mbsnbset(str long long)
@@ -567,7 +550,6 @@
# stub _scprintf
# stub _scwprintf
@ cdecl _searchenv(str str ptr)
-@ cdecl _searchenv_s(str str ptr long)
@ stdcall -i386 _seh_longjmp_unwind4(ptr)
@ stdcall -i386 _seh_longjmp_unwind(ptr)
# stub _set_SSE2_enable
@@ -585,13 +567,10 @@
@ cdecl _setsystime(ptr long)
@ cdecl _sleep(long)
@ varargs _snprintf(ptr long str)
-@ varargs _snprintf_s(ptr long long ptr)
# stub _snscanf
@ varargs _snwprintf(ptr long wstr)
-@ varargs _snwprintf_s(ptr long long ptr)
# stub _snwscanf
@ varargs _sopen(str long long)
-@ cdecl _sopen_s(ptr str long long long)
@ varargs _spawnl(long str str)
@ varargs _spawnle(long str str)
@ varargs _spawnlp(long str str)
@@ -601,7 +580,6 @@
@ cdecl _spawnvp(long str ptr)
@ cdecl _spawnvpe(long str ptr ptr)
@ cdecl _splitpath(str ptr ptr ptr ptr)
-@ cdecl _splitpath_s(str ptr long ptr long ptr long ptr long)
@ cdecl _stat(str ptr)
@ cdecl _stat64(str ptr)
@ cdecl _stati64(str ptr)
@@ -638,9 +616,7 @@
@ extern _tzname
@ cdecl _tzset()
@ cdecl _ui64toa(long long ptr long)
-@ cdecl _ui64toa_s(long long ptr long long)
@ cdecl _ui64tow(long long ptr long)
-@ cdecl _ui64tow_s(long long ptr long long)
@ cdecl _ultoa(long ptr long)
@ cdecl _ultow(long ptr long)
@ cdecl _umask(long)
@@ -657,13 +633,10 @@
@ cdecl _vscwprintf(wstr ptr)
@ cdecl _vsnprintf(ptr long str ptr)
@ cdecl _vsnprintf_c(ptr long str ptr) _vsnprintf
-@ cdecl _vsnprintf_s(ptr long long str ptr)
@ cdecl _vsnwprintf(ptr long wstr ptr)
-@ cdecl _vsnwprintf_s(ptr long long wstr ptr)
@ cdecl _vsprintf_p(ptr long str ptr)
@ cdecl _vswprintf_c(ptr long wstr ptr) _vsnwprintf
@ cdecl _waccess(wstr long)
-@ cdecl _waccess_s(wstr long)
@ cdecl _wasctime(ptr)
@ cdecl _wchdir(wstr)
@ cdecl _wchmod(wstr long)
@@ -671,11 +644,9 @@
@ cdecl _wcreat(wstr long)
@ cdecl _wcsdup(wstr)
@ cdecl _wcserror(long)
-@ cdecl _wcserror_s(ptr long long)
@ cdecl _wcsicmp(wstr wstr)
@ cdecl _wcsicoll(wstr wstr)
@ cdecl _wcslwr(wstr)
-@ cdecl _wcslwr_s(wstr long)
@ cdecl _wcsncoll(wstr wstr long)
@ cdecl _wcsnicmp(wstr wstr long)
@ cdecl _wcsnicoll(wstr wstr long)
@@ -686,7 +657,6 @@
@ cdecl _wcstombs_l(ptr ptr long ptr)
@ cdecl _wcstoui64(wstr ptr long)
@ cdecl _wcsupr(wstr)
-@ cdecl _wcsupr_s(wstr long)
@ cdecl _wctime(ptr)
@ cdecl _wctime32(ptr)
@ cdecl _wctime64(ptr)
@@ -708,7 +678,6 @@
# stub _wfindnext64
@ cdecl _wfindnexti64(long ptr)
@ cdecl _wfopen(wstr wstr)
-@ cdecl _wfopen_s(ptr wstr wstr)
@ cdecl _wfreopen(wstr wstr ptr)
@ cdecl _wfsopen(wstr wstr long)
@ cdecl _wfullpath(ptr wstr long)
@@ -719,7 +688,6 @@
@ extern _winminor
@ extern _winver
@ cdecl _wmakepath(ptr wstr wstr wstr wstr)
-@ cdecl _wmakepath_s(ptr long wstr wstr wstr wstr)
@ cdecl _wmkdir(wstr)
@ cdecl _wmktemp(wstr)
@ varargs _wopen(wstr long)
@@ -734,7 +702,6 @@
@ cdecl _wsearchenv(wstr wstr ptr)
@ cdecl _wsetlocale(long wstr)
@ varargs _wsopen(wstr long long)
-@ cdecl _wsopen_s(ptr wstr long long long)
@ varargs _wspawnl(long wstr wstr)
@ varargs _wspawnle(long wstr wstr)
@ varargs _wspawnlp(long wstr wstr)
@@ -744,7 +711,6 @@
@ cdecl _wspawnvp(long wstr ptr)
@ cdecl _wspawnvpe(long wstr ptr ptr)
@ cdecl _wsplitpath(wstr ptr ptr ptr ptr)
-@ cdecl _wsplitpath_s(wstr ptr long ptr long ptr long ptr long)
@ cdecl _wstat(wstr ptr)
@ cdecl _wstati64(wstr ptr)
@ cdecl _wstat64(wstr ptr)
@@ -804,9 +770,7 @@
@ cdecl fmod(double double)
@ cdecl -arch=x86_64 fmodf(long)
@ cdecl fopen(str str)
-@ cdecl fopen_s(ptr str str)
@ varargs fprintf(ptr str)
-@ varargs fprintf_s(ptr str)
@ cdecl fputc(long ptr)
@ cdecl fputs(str ptr)
@ cdecl fputwc(long ptr)
@@ -820,7 +784,6 @@
@ cdecl fsetpos(ptr ptr)
@ cdecl ftell(ptr)
@ varargs fwprintf(ptr wstr)
-@ varargs fwprintf_s(ptr wstr)
@ cdecl fwrite(ptr long long ptr)
@ varargs fwscanf(ptr wstr)
@ cdecl getc(ptr)
@@ -873,9 +836,7 @@
@ cdecl memchr(ptr long long)
@ cdecl memcmp(ptr ptr long)
@ cdecl memcpy(ptr ptr long)
-@ cdecl memcpy_s(ptr long ptr long) memmove_s
@ cdecl memmove(ptr ptr long)
-@ cdecl memmove_s(ptr long ptr long)
@ cdecl memset(ptr long long)
@ cdecl mktime(ptr)
@ cdecl modf(double ptr)
@@ -883,7 +844,6 @@
@ cdecl pow(double double)
@ cdecl -arch=x86_64 powf(long)
@ varargs printf(str)
-@ varargs printf_s(str)
@ cdecl putc(long ptr)
@ cdecl putchar(long)
@ cdecl puts(str)
@@ -892,7 +852,6 @@
@ cdecl qsort(ptr long long ptr)
@ cdecl raise(long)
@ cdecl rand()
-@ cdecl rand_s(ptr)
@ cdecl realloc(ptr long)
@ cdecl remove(str)
@ cdecl rename(str str)
@@ -907,27 +866,22 @@
@ cdecl -arch=x86_64 sinf(long)
@ cdecl sinh(double)
@ varargs sprintf(ptr str)
-@ varargs sprintf_s(ptr long str)
@ cdecl sqrt(double)
@ cdecl -arch=x86_64 sqrtf(long)
@ cdecl srand(long)
@ varargs sscanf(str str)
@ cdecl strcat(str str)
-@ cdecl strcat_s(str long str)
@ cdecl strchr(str long)
@ cdecl strcmp(str str)
@ cdecl strcoll(str str)
@ cdecl strcpy(ptr str)
-@ cdecl strcpy_s(ptr long str)
@ cdecl strcspn(str str)
@ cdecl strerror(long)
-@ cdecl strerror_s(ptr long long)
@ cdecl strftime(str long str ptr)
@ cdecl strlen(str)
@ cdecl strncat(str str long)
@ cdecl strncmp(str str long)
@ cdecl strncpy(ptr str long)
-@ cdecl strncpy_s(ptr long str long)
@ cdecl strnlen(str long)
@ cdecl strpbrk(str str)
@ cdecl strrchr(str long)
@@ -935,12 +889,10 @@
@ cdecl strstr(str str)
@ cdecl strtod(str ptr)
@ cdecl strtok(str str)
-@ cdecl strtok_s(ptr str ptr)
@ cdecl strtol(str ptr long)
@ cdecl strtoul(str ptr long)
@ cdecl strxfrm(ptr str long)
@ varargs swprintf(ptr wstr)
-@ varargs swprintf_s(ptr long wstr)
@ varargs swscanf(wstr wstr)
@ cdecl system(str)
@ cdecl tan(double)
@@ -955,32 +907,22 @@
@ cdecl ungetc(long ptr)
@ cdecl ungetwc(long ptr)
@ cdecl vfprintf(ptr str ptr)
-@ cdecl vfprintf_s(ptr str ptr)
@ cdecl vfwprintf(ptr wstr ptr)
-@ cdecl vfwprintf_s(ptr wstr ptr)
@ cdecl vprintf(str ptr)
-@ cdecl vprintf_s(str ptr)
@ cdecl vsprintf(ptr str ptr)
-@ cdecl vsprintf_s(ptr long str ptr)
@ cdecl vswprintf(ptr wstr ptr)
-@ cdecl vswprintf_s(ptr long wstr ptr)
@ cdecl vwprintf(wstr ptr)
-@ cdecl vwprintf_s(wstr ptr)
@ cdecl wcscat(wstr wstr)
-@ cdecl wcscat_s(wstr long wstr)
@ cdecl wcschr(wstr long)
@ cdecl wcscmp(wstr wstr)
@ cdecl wcscoll(wstr wstr)
@ cdecl wcscpy(ptr wstr)
-@ cdecl wcscpy_s(ptr long wstr)
@ cdecl wcscspn(wstr wstr)
@ cdecl wcsftime(ptr long wstr ptr)
@ cdecl wcslen(wstr)
@ cdecl wcsncat(wstr wstr long)
-@ cdecl wcsncat_s(wstr long wstr long)
@ cdecl wcsncmp(wstr wstr long)
@ cdecl wcsncpy(ptr wstr long)
-@ cdecl wcsncpy_s(ptr long wstr long)
@ cdecl wcsnlen(wstr long)
@ cdecl wcspbrk(wstr wstr)
@ cdecl wcsrchr(wstr long)
@@ -988,16 +930,24 @@
@ cdecl wcsstr(wstr wstr)
@ cdecl wcstod(wstr ptr)
@ cdecl wcstok(wstr wstr)
-@ cdecl wcstok_s(ptr wstr ptr)
@ cdecl wcstol(wstr ptr long)
@ cdecl wcstombs(ptr ptr long)
@ cdecl wcstoul(wstr ptr long)
@ cdecl wcsxfrm(ptr wstr long)
@ cdecl wctomb(ptr long)
@ varargs wprintf(wstr)
-@ varargs wprintf_s(wstr)
@ varargs wscanf(wstr)
# Functions not exported in native dll:
@ cdecl _get_invalid_parameter_handler()
@ cdecl _set_invalid_parameter_handler(ptr)
+# Gecko
+@ cdecl _controlfp_s(ptr long long)
+@ varargs _snwprintf_s(ptr long long ptr)
+@ cdecl _vsnprintf_s(ptr long long str ptr)
+@ cdecl _vsnwprintf_s(ptr long long wstr ptr)
+@ cdecl _wcslwr_s(wstr long)
+@ cdecl _wfopen_s(ptr wstr wstr)
+@ cdecl fopen_s(ptr str str)
+@ cdecl strtok_s(ptr str ptr)
+@ varargs swprintf_s(ptr long wstr)