mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
16 lines
215 B
C
16 lines
215 B
C
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable: 4164)
|
|
#pragma function(abs)
|
|
#endif
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int
|
|
__cdecl
|
|
abs(int j)
|
|
{
|
|
return j<0 ? -j : j;
|
|
}
|