mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CRT] Properly declare rot functions in public headers
This commit is contained in:
parent
620f333252
commit
3731fd1661
2 changed files with 7 additions and 2 deletions
|
@ -1193,7 +1193,7 @@ extern "C" {
|
|||
_putenv(
|
||||
_In_z_ const char *_EnvString);
|
||||
|
||||
#if !defined(__GNUC__) && !defined(__clang__)
|
||||
#if !defined(__clang__)
|
||||
|
||||
_Check_return_
|
||||
unsigned int
|
||||
|
@ -1229,7 +1229,7 @@ extern "C" {
|
|||
_In_ int _Shift);
|
||||
#endif
|
||||
|
||||
#endif /* !defined(__GNUC__) && !defined(__clang__) */
|
||||
#endif /* !defined(__clang__) */
|
||||
|
||||
_CRTIMP
|
||||
void
|
||||
|
|
|
@ -31,6 +31,11 @@ unsigned long _lrotr(unsigned long value, int shift) __asm__("_lrotr");
|
|||
unsigned int _rotl( unsigned int value, int shift ) __asm__("_rotl");
|
||||
unsigned long _lrotl( unsigned long value, int shift ) __asm__("_lrotl");
|
||||
# endif
|
||||
#else
|
||||
unsigned int _rotr( unsigned int value, int shift );
|
||||
unsigned long _lrotr(unsigned long value, int shift);
|
||||
unsigned int _rotl( unsigned int value, int shift );
|
||||
unsigned long _lrotl( unsigned long value, int shift );
|
||||
#endif
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Reference in a new issue