mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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;
|
|
}
|