Author: tkreuzer
Date: Mon Sep 20 14:16:22 2010
New Revision: 48828
URL:
http://svn.reactos.org/svn/reactos?rev=48828&view=rev
Log:
[MSVC]
__MINGW_ATTRIB_DEPRECATED aka __declspec(deprecated) must be put before the function
declaration for MSVC.
Modified:
branches/cmake-bringup/include/crt/stdlib.h
Modified: branches/cmake-bringup/include/crt/stdlib.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/crt/stdli…
==============================================================================
--- branches/cmake-bringup/include/crt/stdlib.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/crt/stdlib.h [iso-8859-1] Mon Sep 20 14:16:22 2010
@@ -447,10 +447,10 @@
_CRTIMP void __cdecl _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t
*_Dir,wchar_t *_Filename,wchar_t *_Ext);
#endif
- _CRTIMP void __cdecl _beep(unsigned _Frequency,unsigned _Duration)
__MINGW_ATTRIB_DEPRECATED;
+ _CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _beep(unsigned _Frequency,unsigned
_Duration);
/* Not to be confused with _set_error_mode (int). */
- _CRTIMP void __cdecl _seterrormode(int _Mode) __MINGW_ATTRIB_DEPRECATED;
- _CRTIMP void __cdecl _sleep(unsigned long _Duration) __MINGW_ATTRIB_DEPRECATED;
+ _CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _seterrormode(int _Mode);
+ _CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _sleep(unsigned long _Duration);
#endif
#ifndef NO_OLDNAMES