mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
[CRT] Add some missing #pragma function
This commit is contained in:
parent
db41787951
commit
aea4cfba55
23 changed files with 79 additions and 10 deletions
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#if (_MSC_VER >= 1920)
|
||||
#pragma function(_hypotf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(acosf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(asinf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(atan2f)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(atanf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(ceilf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -3,12 +3,10 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
#define cosf _dummy_cosf
|
||||
|
||||
#include <math.h>
|
||||
#undef cosf
|
||||
|
||||
#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
||||
#pragma warning(suppress:4164) /* intrinsic not declared */
|
||||
#pragma function(cosf)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(coshf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <precomp.h>
|
||||
|
||||
#if (_MSC_VER >= 1920)
|
||||
#pragma function(div)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(expf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(floorf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(fmodf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
*/
|
||||
#include <precomp.h>
|
||||
|
||||
#if (_MSC_VER >= 1920)
|
||||
#pragma function(_hypot)
|
||||
#endif
|
||||
|
||||
/* Approximate square roots of DBL_MAX and DBL_MIN. Numbers
|
||||
between these two shouldn't neither overflow nor underflow
|
||||
when squared. */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <precomp.h>
|
||||
|
||||
#if (_MSC_VER >= 1920)
|
||||
#pragma function(ldiv)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(log10f)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -3,12 +3,9 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
#define logf _dummy_logf
|
||||
#include <math.h>
|
||||
#undef logf
|
||||
|
||||
#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
||||
#pragma warning(suppress:4164) /* intrinsic not declared */
|
||||
#pragma function(logf)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
|
|
@ -3,12 +3,10 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
#define sinf _dummy_sinf
|
||||
|
||||
#include <math.h>
|
||||
#undef sinf
|
||||
|
||||
#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
||||
#pragma warning(suppress:4164) /* intrinsic not declared */
|
||||
#pragma function(sinf)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(sinhf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
*/
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(sqrtf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(tanf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(tanhf)
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
float
|
||||
__cdecl
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_MSC_VER) && defined(_M_ARM)
|
||||
#if defined(_MSC_VER)
|
||||
#pragma function(memchr)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma function(memmove)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
/* NOTE: This code is duplicated in memcpy function */
|
||||
void * __cdecl memmove(void *dest,const void *src,size_t count)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue